* [PATCH 0/2] ARM: OMAP/TWL: remove unused pdata IRQ fields @ 2012-05-08 17:19 Kevin Hilman 2012-05-08 17:19 ` [PATCH 1/2] ARM: OMAP2+: TWL: remove usage of pdata->irq_base/_end Kevin Hilman 2012-05-08 17:19 ` [PATCH 2/2] mfd: twl: remove pdata->irq_base/_end, no more users Kevin Hilman 0 siblings, 2 replies; 4+ messages in thread From: Kevin Hilman @ 2012-05-08 17:19 UTC (permalink / raw) To: linux-arm-kernel The TWL driver has been converted to SPARSE_IRQ, and no longer needs these fields. Remove them. Samuel, with your ack, we can keep the twl.h change with the OMAP change that removes all the users so they merge together and avoid potential build problems if they merge separately. Kevin Kevin Hilman (2): ARM: OMAP2+: TWL: remove usage of pdata->irq_base/_end mfd: twl: remove pdata->irq_base/_end, no more users arch/arm/mach-omap2/board-2430sdp.c | 3 --- arch/arm/mach-omap2/board-omap3logic.c | 3 --- arch/arm/mach-omap2/twl-common.c | 10 ---------- include/linux/i2c/twl.h | 1 - 4 files changed, 17 deletions(-) -- 1.7.9.2 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: OMAP2+: TWL: remove usage of pdata->irq_base/_end 2012-05-08 17:19 [PATCH 0/2] ARM: OMAP/TWL: remove unused pdata IRQ fields Kevin Hilman @ 2012-05-08 17:19 ` Kevin Hilman 2012-05-08 17:19 ` [PATCH 2/2] mfd: twl: remove pdata->irq_base/_end, no more users Kevin Hilman 1 sibling, 0 replies; 4+ messages in thread From: Kevin Hilman @ 2012-05-08 17:19 UTC (permalink / raw) To: linux-arm-kernel 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> --- arch/arm/mach-omap2/board-2430sdp.c | 3 --- arch/arm/mach-omap2/board-omap3logic.c | 3 --- arch/arm/mach-omap2/twl-common.c | 10 ---------- 3 files changed, 16 deletions(-) diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index e658f83..3a59a25 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c @@ -218,9 +218,6 @@ static struct twl4030_gpio_platform_data sdp2430_gpio_data = { }; static struct twl4030_platform_data sdp2430_twldata = { - .irq_base = TWL4030_IRQ_BASE, - .irq_end = TWL4030_IRQ_END, - /* platform_data for children goes here */ .gpio = &sdp2430_gpio_data, .vmmc1 = &sdp2430_vmmc1, diff --git a/arch/arm/mach-omap2/board-omap3logic.c b/arch/arm/mach-omap2/board-omap3logic.c index 9b3c141..0dea793 100644 --- a/arch/arm/mach-omap2/board-omap3logic.c +++ b/arch/arm/mach-omap2/board-omap3logic.c @@ -86,9 +86,6 @@ static struct twl4030_gpio_platform_data omap3logic_gpio_data = { }; static struct twl4030_platform_data omap3logic_twldata = { - .irq_base = TWL4030_IRQ_BASE, - .irq_end = TWL4030_IRQ_END, - /* platform_data for children goes here */ .gpio = &omap3logic_gpio_data, .vmmc1 = &omap3logic_vmmc1, diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c index 7a7b893..f0e0fee 100644 --- a/arch/arm/mach-omap2/twl-common.c +++ b/arch/arm/mach-omap2/twl-common.c @@ -156,11 +156,6 @@ static struct regulator_init_data omap3_vpll2_idata = { void __init omap3_pmic_get_config(struct twl4030_platform_data *pmic_data, 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; - /* Common platform data configurations */ if (pdata_flags & TWL_COMMON_PDATA_USB && !pmic_data->usb) pmic_data->usb = &omap3_usb_pdata; @@ -313,11 +308,6 @@ static struct regulator_init_data omap4_clk32kg_idata = { void __init omap4_pmic_get_config(struct twl4030_platform_data *pmic_data, 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; - /* Common platform data configurations */ if (pdata_flags & TWL_COMMON_PDATA_USB && !pmic_data->usb) pmic_data->usb = &omap4_usb_pdata; -- 1.7.9.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] mfd: twl: remove pdata->irq_base/_end, no more users 2012-05-08 17:19 [PATCH 0/2] ARM: OMAP/TWL: remove unused pdata IRQ fields Kevin Hilman 2012-05-08 17:19 ` [PATCH 1/2] ARM: OMAP2+: TWL: remove usage of pdata->irq_base/_end Kevin Hilman @ 2012-05-08 17:19 ` Kevin Hilman 2012-05-11 9:40 ` Samuel Ortiz 1 sibling, 1 reply; 4+ messages in thread From: Kevin Hilman @ 2012-05-08 17:19 UTC (permalink / raw) To: linux-arm-kernel After converstion to SPARSE_IRQ, the driver doesn't use the pdata->irq_base/irq_end fields anymore. The last users have been cleanup up, and now these fields can be removed. Cc: Benoit Cousson <b-cousson@ti.com> Cc: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Kevin Hilman <khilman@ti.com> --- include/linux/i2c/twl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index 1f90de0..f8b967c 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h @@ -685,7 +685,6 @@ struct twl4030_audio_data { }; struct twl4030_platform_data { - unsigned irq_base, irq_end; struct twl4030_clock_init_data *clock; struct twl4030_bci_platform_data *bci; struct twl4030_gpio_platform_data *gpio; -- 1.7.9.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] mfd: twl: remove pdata->irq_base/_end, no more users 2012-05-08 17:19 ` [PATCH 2/2] mfd: twl: remove pdata->irq_base/_end, no more users Kevin Hilman @ 2012-05-11 9:40 ` Samuel Ortiz 0 siblings, 0 replies; 4+ messages in thread From: Samuel Ortiz @ 2012-05-11 9:40 UTC (permalink / raw) To: linux-arm-kernel Hi Kevin, On Tue, May 08, 2012 at 10:19:02AM -0700, Kevin Hilman wrote: > After converstion to SPARSE_IRQ, the driver doesn't use the > pdata->irq_base/irq_end fields anymore. The last users > have been cleanup up, and now these fields can be removed. > > Cc: Benoit Cousson <b-cousson@ti.com> > Cc: Samuel Ortiz <sameo@linux.intel.com> > Signed-off-by: Kevin Hilman <khilman@ti.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com> Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-11 9:40 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-05-08 17:19 [PATCH 0/2] ARM: OMAP/TWL: remove unused pdata IRQ fields Kevin Hilman 2012-05-08 17:19 ` [PATCH 1/2] ARM: OMAP2+: TWL: remove usage of pdata->irq_base/_end Kevin Hilman 2012-05-08 17:19 ` [PATCH 2/2] mfd: twl: remove pdata->irq_base/_end, no more users Kevin Hilman 2012-05-11 9:40 ` Samuel Ortiz
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).