diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-07-04 16:35:54 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-07-06 08:25:20 +0200 |
commit | bec31a85f0f83567ed4b77e0cd6399bac2f0f037 (patch) | |
tree | b3ceaaf837d3293ff9fd29beec66068cf5831593 /arch/arm/mach-imx/devices-imx31.h | |
parent | 4e28f3a0e43f4b2c99dc4870e7af4acadb892f61 (diff) | |
download | linux-stable-bec31a85f0f83567ed4b77e0cd6399bac2f0f037.tar.gz linux-stable-bec31a85f0f83567ed4b77e0cd6399bac2f0f037.tar.bz2 linux-stable-bec31a85f0f83567ed4b77e0cd6399bac2f0f037.zip |
ARM: imx: remove unused pdata from device macros
Many imx device macros have a meaningless pdata. This patch removes those.
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: <linux-arm-kernel@lists.infradead.org>
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/devices-imx31.h')
-rw-r--r-- | arch/arm/mach-imx/devices-imx31.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/devices-imx31.h b/arch/arm/mach-imx/devices-imx31.h index 488e241a6db6..13f533d0aa5c 100644 --- a/arch/arm/mach-imx/devices-imx31.h +++ b/arch/arm/mach-imx/devices-imx31.h @@ -14,7 +14,7 @@ extern const struct imx_fsl_usb2_udc_data imx31_fsl_usb2_udc_data; imx_add_fsl_usb2_udc(&imx31_fsl_usb2_udc_data, pdata) extern const struct imx_imx2_wdt_data imx31_imx2_wdt_data; -#define imx31_add_imx2_wdt(pdata) \ +#define imx31_add_imx2_wdt() \ imx_add_imx2_wdt(&imx31_imx2_wdt_data) extern const struct imx_imx_i2c_data imx31_imx_i2c_data[]; @@ -65,11 +65,11 @@ extern const struct imx_mxc_nand_data imx31_mxc_nand_data; imx_add_mxc_nand(&imx31_mxc_nand_data, pdata) extern const struct imx_mxc_rtc_data imx31_mxc_rtc_data; -#define imx31_add_mxc_rtc(pdata) \ +#define imx31_add_mxc_rtc() \ imx_add_mxc_rtc(&imx31_mxc_rtc_data) extern const struct imx_mxc_w1_data imx31_mxc_w1_data; -#define imx31_add_mxc_w1(pdata) \ +#define imx31_add_mxc_w1() \ imx_add_mxc_w1(&imx31_mxc_w1_data) extern const struct imx_spi_imx_data imx31_cspi_data[]; |