diff options
author | Nicolae Rosia <Nicolae_Rosia@mentor.com> | 2016-11-04 10:02:18 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-11-09 16:46:10 -0500 |
commit | 76eddd604635a57ac34f3d570129c93b8e87a635 (patch) | |
tree | 9226002b403ed00be86d3c6b3c44dcaacfc9e9bf | |
parent | 30bfa0deb3566bc4c453b8fcd7cb20a81f7d01f3 (diff) |
ARM: OMAP: kill omap_pmic_init
Last user of this function was removed in commit
9b714 ("ARM: OMAP2+: Drop legacy board file for n900") during
legacy board file removal.
Signed-off-by: Nicolae Rosia <Nicolae_Rosia@mentor.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap2/twl-common.c | 13 | ||||
-rw-r--r-- | arch/arm/mach-omap2/twl-common.h | 2 |
2 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c index cf3d81b16888..876772cb1774 100644 --- a/arch/arm/mach-omap2/twl-common.c +++ b/arch/arm/mach-omap2/twl-common.c | |||
@@ -39,19 +39,6 @@ static struct i2c_board_info __initdata pmic_i2c_board_info = { | |||
39 | .flags = I2C_CLIENT_WAKE, | 39 | .flags = I2C_CLIENT_WAKE, |
40 | }; | 40 | }; |
41 | 41 | ||
42 | void __init omap_pmic_init(int bus, u32 clkrate, | ||
43 | const char *pmic_type, int pmic_irq, | ||
44 | struct twl4030_platform_data *pmic_data) | ||
45 | { | ||
46 | omap_mux_init_signal("sys_nirq", OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_WAKEUPENABLE); | ||
47 | strlcpy(pmic_i2c_board_info.type, pmic_type, | ||
48 | sizeof(pmic_i2c_board_info.type)); | ||
49 | pmic_i2c_board_info.irq = pmic_irq; | ||
50 | pmic_i2c_board_info.platform_data = pmic_data; | ||
51 | |||
52 | omap_register_i2c_bus(bus, clkrate, &pmic_i2c_board_info, 1); | ||
53 | } | ||
54 | |||
55 | void __init omap_pmic_late_init(void) | 42 | void __init omap_pmic_late_init(void) |
56 | { | 43 | { |
57 | /* Init the OMAP TWL parameters (if PMIC has been registerd) */ | 44 | /* Init the OMAP TWL parameters (if PMIC has been registerd) */ |
diff --git a/arch/arm/mach-omap2/twl-common.h b/arch/arm/mach-omap2/twl-common.h index 5579bd6423eb..44713bb99c7d 100644 --- a/arch/arm/mach-omap2/twl-common.h +++ b/arch/arm/mach-omap2/twl-common.h | |||
@@ -35,8 +35,6 @@ struct twl6040_platform_data; | |||
35 | struct omap_tw4030_pdata; | 35 | struct omap_tw4030_pdata; |
36 | struct i2c_board_info; | 36 | struct i2c_board_info; |
37 | 37 | ||
38 | void omap_pmic_init(int bus, u32 clkrate, const char *pmic_type, int pmic_irq, | ||
39 | struct twl4030_platform_data *pmic_data); | ||
40 | void omap_pmic_late_init(void); | 38 | void omap_pmic_late_init(void); |
41 | 39 | ||
42 | void omap_twl4030_audio_init(char *card_name, struct omap_tw4030_pdata *pdata); | 40 | void omap_twl4030_audio_init(char *card_name, struct omap_tw4030_pdata *pdata); |