diff options
author | Philippe Langlais <philippe.langlais@linaro.org> | 2012-01-16 11:03:49 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 10:59:26 +0200 |
commit | 62c27f76b0966088351a4f4ea6e630c62105c33d (patch) | |
tree | 4e9269e874e24f4e5c012d305474cd6769762931 /drivers/mfd | |
parent | 3289f9e4414cfccaf0b42554c712c5d41eccfa34 (diff) |
pm: u5500: deprecate v1 hardware
DB5500 v1 is no longer supported and now the code makes the
assumption that it runs on hardware revision >= v2. So, lets
deprecate all the v1 codes.
Signed-off-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/db5500-prcmu.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mfd/db5500-prcmu.c b/drivers/mfd/db5500-prcmu.c index 364a4432e38..69c2fb13cf6 100644 --- a/drivers/mfd/db5500-prcmu.c +++ b/drivers/mfd/db5500-prcmu.c @@ -1579,9 +1579,6 @@ int db5500_prcmu_set_ape_opp(u8 opp) if (opp == mb1_transfer.req_ape_opp) return 0; - if (cpu_is_u5500v1()) - return -EINVAL; - switch (opp) { case APE_100_OPP: db5500_opp = DB5500_APE_100_OPP; @@ -1659,9 +1656,6 @@ int db5500_prcmu_get_ddr_opp(void) int db5500_prcmu_set_ddr_opp(u8 opp) { - if (cpu_is_u5500v1()) - return -EINVAL; - if (opp != DDR_100_OPP && opp != DDR_50_OPP) return -EINVAL; |