aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2016-09-14 06:51:42 -0400
committerLee Jones <lee.jones@linaro.org>2016-10-04 10:48:05 -0400
commit45ff2b685a6e8588ed637ba711b9a42ad1963066 (patch)
tree2a6ddfe70c699d024682a2a21e51764fbdd5cac9 /drivers/mfd
parentc45eab2cb06092aa61e67fc6801cf0d6fac29482 (diff)
mfd: db8500-prcmu: Remove unused *prcmu_set_ddr_opp() calls
There are no call sites for these functions. Strip them out. Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/db8500-prcmu.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
index 388e268b9bcf..ca38a6a14110 100644
--- a/drivers/mfd/db8500-prcmu.c
+++ b/drivers/mfd/db8500-prcmu.c
@@ -938,25 +938,6 @@ int db8500_prcmu_get_ddr_opp(void)
938 return readb(PRCM_DDR_SUBSYS_APE_MINBW); 938 return readb(PRCM_DDR_SUBSYS_APE_MINBW);
939} 939}
940 940
941/**
942 * db8500_set_ddr_opp - set the appropriate DDR OPP
943 * @opp: The new DDR operating point to which transition is to be made
944 * Returns: 0 on success, non-zero on failure
945 *
946 * This function sets the operating point of the DDR.
947 */
948static bool enable_set_ddr_opp;
949int db8500_prcmu_set_ddr_opp(u8 opp)
950{
951 if (opp < DDR_100_OPP || opp > DDR_25_OPP)
952 return -EINVAL;
953 /* Changing the DDR OPP can hang the hardware pre-v21 */
954 if (enable_set_ddr_opp)
955 writeb(opp, PRCM_DDR_SUBSYS_APE_MINBW);
956
957 return 0;
958}
959
960/* Divide the frequency of certain clocks by 2 for APE_50_PARTLY_25_OPP. */ 941/* Divide the frequency of certain clocks by 2 for APE_50_PARTLY_25_OPP. */
961static void request_even_slower_clocks(bool enable) 942static void request_even_slower_clocks(bool enable)
962{ 943{