Commit 46621ebb authored by Philippe Rétornaz's avatar Philippe Rétornaz Committed by Samuel Ortiz

ARM: imx+mc13xxx: remove obsolete leds and regulators flags

Signed-off-by: default avatarPhilippe Rétornaz <philippe.retornaz@epfl.ch>
Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent f20a5ea8
...@@ -293,8 +293,7 @@ static struct mc13xxx_platform_data mc13783_pdata = { ...@@ -293,8 +293,7 @@ static struct mc13xxx_platform_data mc13783_pdata = {
.num_regulators = ARRAY_SIZE(mx27_3ds_regulators), .num_regulators = ARRAY_SIZE(mx27_3ds_regulators),
}, },
.flags = MC13XXX_USE_REGULATOR | MC13XXX_USE_TOUCHSCREEN | .flags = MC13XXX_USE_TOUCHSCREEN | MC13XXX_USE_RTC,
MC13XXX_USE_RTC,
}; };
/* SPI */ /* SPI */
......
...@@ -494,7 +494,7 @@ static struct mc13xxx_platform_data mc13783_pdata = { ...@@ -494,7 +494,7 @@ static struct mc13xxx_platform_data mc13783_pdata = {
.regulators = mx31_3ds_regulators, .regulators = mx31_3ds_regulators,
.num_regulators = ARRAY_SIZE(mx31_3ds_regulators), .num_regulators = ARRAY_SIZE(mx31_3ds_regulators),
}, },
.flags = MC13XXX_USE_REGULATOR | MC13XXX_USE_TOUCHSCREEN, .flags = MC13XXX_USE_TOUCHSCREEN,
}; };
/* SPI */ /* SPI */
......
...@@ -112,8 +112,7 @@ static const struct spi_imx_master spi1_pdata __initconst = { ...@@ -112,8 +112,7 @@ static const struct spi_imx_master spi1_pdata __initconst = {
}; };
static struct mc13xxx_platform_data mc13783_pdata __initdata = { static struct mc13xxx_platform_data mc13783_pdata __initdata = {
.flags = MC13XXX_USE_RTC | .flags = MC13XXX_USE_RTC,
MC13XXX_USE_REGULATOR,
}; };
static struct spi_board_info mc13783_spi_dev __initdata = { static struct spi_board_info mc13783_spi_dev __initdata = {
......
...@@ -270,8 +270,7 @@ static struct mc13xxx_platform_data moboard_pmic = { ...@@ -270,8 +270,7 @@ static struct mc13xxx_platform_data moboard_pmic = {
.num_regulators = ARRAY_SIZE(moboard_regulators), .num_regulators = ARRAY_SIZE(moboard_regulators),
}, },
.leds = &moboard_leds, .leds = &moboard_leds,
.flags = MC13XXX_USE_REGULATOR | MC13XXX_USE_RTC | .flags = MC13XXX_USE_RTC | MC13XXX_USE_ADC,
MC13XXX_USE_ADC | MC13XXX_USE_LED,
}; };
static struct spi_board_info moboard_spi_board_info[] __initdata = { static struct spi_board_info moboard_spi_board_info[] __initdata = {
......
...@@ -266,8 +266,7 @@ static struct mc13xxx_platform_data pcm038_pmic = { ...@@ -266,8 +266,7 @@ static struct mc13xxx_platform_data pcm038_pmic = {
.regulators = pcm038_regulators, .regulators = pcm038_regulators,
.num_regulators = ARRAY_SIZE(pcm038_regulators), .num_regulators = ARRAY_SIZE(pcm038_regulators),
}, },
.flags = MC13XXX_USE_ADC | MC13XXX_USE_REGULATOR | .flags = MC13XXX_USE_ADC | MC13XXX_USE_TOUCHSCREEN,
MC13XXX_USE_TOUCHSCREEN,
}; };
static struct spi_board_info pcm038_spi_board_info[] __initdata = { static struct spi_board_info pcm038_spi_board_info[] __initdata = {
......
...@@ -567,7 +567,7 @@ static struct mc13xxx_regulator_init_data mx51_efika_regulators[] = { ...@@ -567,7 +567,7 @@ static struct mc13xxx_regulator_init_data mx51_efika_regulators[] = {
}; };
static struct mc13xxx_platform_data mx51_efika_mc13892_data = { static struct mc13xxx_platform_data mx51_efika_mc13892_data = {
.flags = MC13XXX_USE_RTC | MC13XXX_USE_REGULATOR, .flags = MC13XXX_USE_RTC,
.regulators = { .regulators = {
.num_regulators = ARRAY_SIZE(mx51_efika_regulators), .num_regulators = ARRAY_SIZE(mx51_efika_regulators),
.regulators = mx51_efika_regulators, .regulators = mx51_efika_regulators,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment