ARM: imx: use mc13xxx constants instead of mc13783
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 24 Aug 2011 13:28:23 +0000 (15:28 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:12 +0000 (14:09 +0200)
The latter constants are going to be removed in favour of the former

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
arch/arm/mach-imx/mach-mx27_3ds.c
arch/arm/mach-imx/mach-mx31_3ds.c
arch/arm/mach-imx/mach-pcm038.c

index 6fa6934ab1509b87642bd41158b01841e9b49d26..38568554293ac1b234981758837041e5b79ae52b 100644 (file)
@@ -293,8 +293,8 @@ static struct mc13xxx_platform_data mc13783_pdata = {
                .num_regulators = ARRAY_SIZE(mx27_3ds_regulators),
 
        },
-       .flags  = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN |
-       MC13783_USE_RTC,
+       .flags  = MC13XXX_USE_REGULATOR | MC13XXX_USE_TOUCHSCREEN |
+               MC13XXX_USE_RTC,
 };
 
 /* SPI */
index c20be7530927fc11345dcefeb8a93c408b463e53..aa2ebe6bae341af0d8c6fa0a18d90a553f034dc1 100644 (file)
@@ -494,7 +494,7 @@ static struct mc13xxx_platform_data mc13783_pdata = {
                .regulators = mx31_3ds_regulators,
                .num_regulators = ARRAY_SIZE(mx31_3ds_regulators),
        },
-       .flags  = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN,
+       .flags  = MC13XXX_USE_REGULATOR | MC13XXX_USE_TOUCHSCREEN,
 };
 
 /* SPI */
index 2d6a64bbac44eb18b83ea1694da8fc5c4332bb65..d033774ebf23df4425344190623624a5c57ff035 100644 (file)
@@ -266,8 +266,8 @@ static struct mc13xxx_platform_data pcm038_pmic = {
                .regulators = pcm038_regulators,
                .num_regulators = ARRAY_SIZE(pcm038_regulators),
        },
-       .flags = MC13783_USE_ADC | MC13783_USE_REGULATOR |
-                MC13783_USE_TOUCHSCREEN,
+       .flags = MC13XXX_USE_ADC | MC13XXX_USE_REGULATOR |
+                MC13XXX_USE_TOUCHSCREEN,
 };
 
 static struct spi_board_info pcm038_spi_board_info[] __initdata = {