ARM: imx: leave irq_base of wm8350_platform_data uninitialized
authorShawn Guo <shawn.guo@linaro.org>
Wed, 13 Jun 2012 07:12:24 +0000 (15:12 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 1 Jul 2012 13:58:02 +0000 (21:58 +0800)
With commit d1738ae (mfd: Allocate wm835x irq descs dynamically) being
in the tree, there is no need to initialize irq_base field of struct
wm8350_platform_data.  Remove it to save one reference to macro
MXC_BOARD_IRQ_START.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
arch/arm/mach-imx/mach-mx31ads.c

index 6f19f98ddbe9949cae99c0d298d34743a4ef9173..a27a8543b9b51508d7a6942508bfbee4e90dab72 100644 (file)
@@ -479,7 +479,6 @@ static int mx31_wm8350_init(struct wm8350 *wm8350)
 
 static struct wm8350_platform_data __initdata mx31_wm8350_pdata = {
        .init = mx31_wm8350_init,
-       .irq_base = MXC_BOARD_IRQ_START + MXC_MAX_EXP_IO_LINES,
 };
 #endif