diff options
author | Kevin Hilman <khilman@ti.com> | 2012-03-14 16:56:01 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-06-19 18:24:34 -0400 |
commit | a844a197f136ea4cffe050890dd25a35a4d26a42 (patch) | |
tree | 3f9c7fe49df125cc3397051987b037d602d25314 /arch/arm/mach-omap2/twl-common.c | |
parent | f8f5701bdaf9134b1f90e5044a82c66324d2073f (diff) |
ARM: OMAP2+: TWL: remove usage of pdata->irq_base/_end
The TWL driver has been converted to use SPARSE_IRQ and no longer
needs to be passed IRQ base/end. Since driver no longer uses these
fields, so remove them from the reamaining users.
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/twl-common.c')
-rw-r--r-- | arch/arm/mach-omap2/twl-common.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c index 119d5a910f3a..ce7cccf5a772 100644 --- a/arch/arm/mach-omap2/twl-common.c +++ b/arch/arm/mach-omap2/twl-common.c | |||
@@ -211,10 +211,6 @@ static struct twl_regulator_driver_data omap3_vdd2_drvdata = { | |||
211 | void __init omap3_pmic_get_config(struct twl4030_platform_data *pmic_data, | 211 | void __init omap3_pmic_get_config(struct twl4030_platform_data *pmic_data, |
212 | u32 pdata_flags, u32 regulators_flags) | 212 | u32 pdata_flags, u32 regulators_flags) |
213 | { | 213 | { |
214 | if (!pmic_data->irq_base) | ||
215 | pmic_data->irq_base = TWL4030_IRQ_BASE; | ||
216 | if (!pmic_data->irq_end) | ||
217 | pmic_data->irq_end = TWL4030_IRQ_END; | ||
218 | if (!pmic_data->vdd1) { | 214 | if (!pmic_data->vdd1) { |
219 | omap3_vdd1.driver_data = &omap3_vdd1_drvdata; | 215 | omap3_vdd1.driver_data = &omap3_vdd1_drvdata; |
220 | omap3_vdd1_drvdata.data = voltdm_lookup("mpu_iva"); | 216 | omap3_vdd1_drvdata.data = voltdm_lookup("mpu_iva"); |
@@ -479,11 +475,6 @@ static struct regulator_init_data omap4_v2v1_idata = { | |||
479 | void __init omap4_pmic_get_config(struct twl4030_platform_data *pmic_data, | 475 | void __init omap4_pmic_get_config(struct twl4030_platform_data *pmic_data, |
480 | u32 pdata_flags, u32 regulators_flags) | 476 | u32 pdata_flags, u32 regulators_flags) |
481 | { | 477 | { |
482 | if (!pmic_data->irq_base) | ||
483 | pmic_data->irq_base = TWL6030_IRQ_BASE; | ||
484 | if (!pmic_data->irq_end) | ||
485 | pmic_data->irq_end = TWL6030_IRQ_END; | ||
486 | |||
487 | if (!pmic_data->vdd1) { | 478 | if (!pmic_data->vdd1) { |
488 | omap4_vdd1.driver_data = &omap4_vdd1_drvdata; | 479 | omap4_vdd1.driver_data = &omap4_vdd1_drvdata; |
489 | omap4_vdd1_drvdata.data = voltdm_lookup("mpu"); | 480 | omap4_vdd1_drvdata.data = voltdm_lookup("mpu"); |