diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-03-18 11:53:31 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-07-12 05:23:58 -0400 |
commit | 4e657946cbf68998b51b331375a1209e90792fe4 (patch) | |
tree | c5a64f3141e85adef5993d63af0ac9493c05414a /include/linux/mfd | |
parent | cf4129ea212d71f7860bded25d42388265172bee (diff) |
mfd: db8500 stop passing around platform data
Except for the constant DB8500_PRCMU_FW_VERSION_OFFSET number, nothing
is ever passed through the platform data and used in a driver, so we
can simply stop passing it around.
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/abx500/ab8500-sysctrl.h | 6 | ||||
-rw-r--r-- | include/linux/mfd/dbx500-prcmu.h | 10 |
2 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/mfd/abx500/ab8500-sysctrl.h b/include/linux/mfd/abx500/ab8500-sysctrl.h index 689312745b2f..01024d1aed0e 100644 --- a/include/linux/mfd/abx500/ab8500-sysctrl.h +++ b/include/linux/mfd/abx500/ab8500-sysctrl.h | |||
@@ -37,12 +37,6 @@ static inline int ab8500_sysctrl_clear(u16 reg, u8 bits) | |||
37 | return ab8500_sysctrl_write(reg, bits, 0); | 37 | return ab8500_sysctrl_write(reg, bits, 0); |
38 | } | 38 | } |
39 | 39 | ||
40 | /* Configuration data for SysClkReq1RfClkBuf - SysClkReq8RfClkBuf */ | ||
41 | struct ab8500_sysctrl_platform_data { | ||
42 | u8 initial_req_buf_config[8]; | ||
43 | u16 (*reboot_reason_code)(const char *cmd); | ||
44 | }; | ||
45 | |||
46 | /* Registers */ | 40 | /* Registers */ |
47 | #define AB8500_TURNONSTATUS 0x100 | 41 | #define AB8500_TURNONSTATUS 0x100 |
48 | #define AB8500_RESETSTATUS 0x101 | 42 | #define AB8500_RESETSTATUS 0x101 |
diff --git a/include/linux/mfd/dbx500-prcmu.h b/include/linux/mfd/dbx500-prcmu.h index bf5109d38a26..5d374601404c 100644 --- a/include/linux/mfd/dbx500-prcmu.h +++ b/include/linux/mfd/dbx500-prcmu.h | |||
@@ -178,16 +178,6 @@ enum ddr_pwrst { | |||
178 | 178 | ||
179 | #define DB8500_PRCMU_LEGACY_OFFSET 0xDD4 | 179 | #define DB8500_PRCMU_LEGACY_OFFSET 0xDD4 |
180 | 180 | ||
181 | struct prcmu_pdata | ||
182 | { | ||
183 | bool enable_set_ddr_opp; | ||
184 | bool enable_ape_opp_100_voltage; | ||
185 | struct ab8500_platform_data *ab_platdata; | ||
186 | u32 version_offset; | ||
187 | u32 legacy_offset; | ||
188 | u32 adt_offset; | ||
189 | }; | ||
190 | |||
191 | #define PRCMU_FW_PROJECT_U8500 2 | 181 | #define PRCMU_FW_PROJECT_U8500 2 |
192 | #define PRCMU_FW_PROJECT_U8400 3 | 182 | #define PRCMU_FW_PROJECT_U8400 3 |
193 | #define PRCMU_FW_PROJECT_U9500 4 /* Customer specific */ | 183 | #define PRCMU_FW_PROJECT_U9500 4 /* Customer specific */ |