提交 a844a197 编写于 作者: K Kevin Hilman

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: NKevin Hilman <khilman@ti.com>
上级 f8f5701b
...@@ -218,9 +218,6 @@ static struct twl4030_gpio_platform_data sdp2430_gpio_data = { ...@@ -218,9 +218,6 @@ static struct twl4030_gpio_platform_data sdp2430_gpio_data = {
}; };
static struct twl4030_platform_data sdp2430_twldata = { static struct twl4030_platform_data sdp2430_twldata = {
.irq_base = TWL4030_IRQ_BASE,
.irq_end = TWL4030_IRQ_END,
/* platform_data for children goes here */ /* platform_data for children goes here */
.gpio = &sdp2430_gpio_data, .gpio = &sdp2430_gpio_data,
.vmmc1 = &sdp2430_vmmc1, .vmmc1 = &sdp2430_vmmc1,
......
...@@ -93,9 +93,6 @@ static struct twl4030_usb_data omap3logic_usb_data = { ...@@ -93,9 +93,6 @@ static struct twl4030_usb_data omap3logic_usb_data = {
static struct twl4030_platform_data omap3logic_twldata = { static struct twl4030_platform_data omap3logic_twldata = {
.irq_base = TWL4030_IRQ_BASE,
.irq_end = TWL4030_IRQ_END,
/* platform_data for children goes here */ /* platform_data for children goes here */
.gpio = &omap3logic_gpio_data, .gpio = &omap3logic_gpio_data,
.vmmc1 = &omap3logic_vmmc1, .vmmc1 = &omap3logic_vmmc1,
......
...@@ -211,10 +211,6 @@ static struct twl_regulator_driver_data omap3_vdd2_drvdata = { ...@@ -211,10 +211,6 @@ static struct twl_regulator_driver_data omap3_vdd2_drvdata = {
void __init omap3_pmic_get_config(struct twl4030_platform_data *pmic_data, void __init omap3_pmic_get_config(struct twl4030_platform_data *pmic_data,
u32 pdata_flags, u32 regulators_flags) u32 pdata_flags, u32 regulators_flags)
{ {
if (!pmic_data->irq_base)
pmic_data->irq_base = TWL4030_IRQ_BASE;
if (!pmic_data->irq_end)
pmic_data->irq_end = TWL4030_IRQ_END;
if (!pmic_data->vdd1) { if (!pmic_data->vdd1) {
omap3_vdd1.driver_data = &omap3_vdd1_drvdata; omap3_vdd1.driver_data = &omap3_vdd1_drvdata;
omap3_vdd1_drvdata.data = voltdm_lookup("mpu_iva"); omap3_vdd1_drvdata.data = voltdm_lookup("mpu_iva");
...@@ -479,11 +475,6 @@ static struct regulator_init_data omap4_v2v1_idata = { ...@@ -479,11 +475,6 @@ static struct regulator_init_data omap4_v2v1_idata = {
void __init omap4_pmic_get_config(struct twl4030_platform_data *pmic_data, void __init omap4_pmic_get_config(struct twl4030_platform_data *pmic_data,
u32 pdata_flags, u32 regulators_flags) u32 pdata_flags, u32 regulators_flags)
{ {
if (!pmic_data->irq_base)
pmic_data->irq_base = TWL6030_IRQ_BASE;
if (!pmic_data->irq_end)
pmic_data->irq_end = TWL6030_IRQ_END;
if (!pmic_data->vdd1) { if (!pmic_data->vdd1) {
omap4_vdd1.driver_data = &omap4_vdd1_drvdata; omap4_vdd1.driver_data = &omap4_vdd1_drvdata;
omap4_vdd1_drvdata.data = voltdm_lookup("mpu"); omap4_vdd1_drvdata.data = voltdm_lookup("mpu");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册