From: Nicolae Rosia Date: Fri, 4 Nov 2016 14:02:16 +0000 (+0200) Subject: ARM: OMAP3: kill omap3_pmic_init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=873fe3f9ef81140ae73c8d626c06fb8b38316b0e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: OMAP3: kill omap3_pmic_init Last user of this function was removed in commit e92fc4 ("ARM: OMAP2+: Drop legacy board file for LDP") during legacy board file removal. Signed-off-by: Nicolae Rosia Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/twl-common.h b/arch/arm/mach-omap2/twl-common.h index 048f6b2d1863..397722d1491a 100644 --- a/arch/arm/mach-omap2/twl-common.h +++ b/arch/arm/mach-omap2/twl-common.h @@ -45,12 +45,6 @@ static inline void omap2_pmic_init(const char *pmic_type, omap_pmic_init(2, 2600, pmic_type, 7 + OMAP_INTC_START, pmic_data); } -static inline void omap3_pmic_init(const char *pmic_type, - struct twl4030_platform_data *pmic_data) -{ - omap_pmic_init(1, 2600, pmic_type, 7 + OMAP_INTC_START, pmic_data); -} - void omap_twl4030_audio_init(char *card_name, struct omap_tw4030_pdata *pdata); #endif /* __OMAP_PMIC_COMMON__ */