mfd: db8500-prcmu: remove dead code for a non-existing config
Subsystems (2)
PATCH 1/1 mfd: db8500-prcmu: remove dead code for a non-existing config
The config DBX500_PRCMU_QOS_POWER was never introduced in the kernel repository. So, the ifdef in ./include/linux/mfd/dbx500-prcmu.h was never effective.
Remove these dead function prototypes.
--- include/linux/mfd/dbx500-prcmu.h | 18 ------------------ 1 file changed, 18 deletions(-)
include/linux/mfd/dbx500-prcmu.h +0 -18
@@ -556,22 +556,6 @@ static inline void prcmu_clear(unsigned int reg, u32 bits)#define PRCMU_QOS_ARM_OPP 3#define PRCMU_QOS_DEFAULT_VALUE -1 -#ifdef CONFIG_DBX500_PRCMU_QOS_POWER - -unsigned long prcmu_qos_get_cpufreq_opp_delay (void ); -void prcmu_qos_set_cpufreq_opp_delay (unsigned long ); -void prcmu_qos_force_opp (int ,s32 ); -int prcmu_qos_requirement (int pm_qos_class); -int prcmu_qos_add_requirement (int pm_qos_class,char *name,s32 value); -int prcmu_qos_update_requirement (int pm_qos_class,char *name,s32 new_value); -void prcmu_qos_remove_requirement (int pm_qos_class,char *name); -int prcmu_qos_add_notifier (int prcmu_qos_class, -struct notifier_block *notifier); -int prcmu_qos_remove_notifier (int prcmu_qos_class, -struct notifier_block *notifier); - -#else -static inline unsigned long prcmu_qos_get_cpufreq_opp_delay (void ) {return 0 ;
@@ -613,6 +597,4 @@ static inline int prcmu_qos_remove_notifier(int prcmu_qos_class, return 0; } -#endif -#endif /* __MACH_PRCMU_H */
Signature · 1 line
2.17.1
Quoted 7 lines · Lukas Bulwahn
The config
DBX500_PRCMU_QOS_POWERwas never introduced in the kernel repository. So, the ifdef in./include/linux/mfd/dbx500-prcmu.hwas never effective.Remove these dead function prototypes.
Signed-off-by Lukas Bulwahn <[email protected]>
BTW: Lukas are you using this platform or just general winter cleaning?
Yours,
Linus Walleij
Quoted 7 lines · Linus Walleij
Quoted 4 lines · Lukas Bulwahn
The config
DBX500_PRCMU_QOS_POWERwas never introduced in the kernel repository. So, the ifdef in./include/linux/mfd/dbx500-prcmu.hwas never effective.
Quoted 8 lines
Quoted 3 lines
Remove these dead function prototypes.
Signed-off-by Lukas Bulwahn <[email protected]>Reviewed-by Linus Walleij <[email protected]>BTW: Lukas are you using this platform or just general winter cleaning?
I am not using this platform, but just doing some janitorial work with the checkkconfigsymbols.py script, which Randy Dunlap has pointed out to me. This "general winter cleaning" really started as a "summer break clean-up" and just took longer... I am also writing a blog post summarizing the results of these whole kernel clean-up activities and I will share it with you once it is published.
Lukas
Quoted 2 lines
Yours,
Linus Walleij
Lee Jones
AppliedQuoted 10 lines · Lukas Bulwahn
The config
DBX500_PRCMU_QOS_POWERwas never introduced in the kernel repository. So, the ifdef in./include/linux/mfd/dbx500-prcmu.hwas never effective.Remove these dead function prototypes.
Signed-off-by Lukas Bulwahn <[email protected]>--- include/linux/mfd/dbx500-prcmu.h | 18 ------------------ 1 file changed, 18 deletions(-)
Applied, thanks.
Signature · 4 lines
Lee Jones [李琼斯] Principal Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog