ARM: imx+mc13xxx: remove obsolete leds and regulators flags
Signed-off-by: Philippe Rétornaz <philippe.retornaz@epfl.ch> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
f20a5ea8e3
commit
46621ebbf5
6 changed files with 6 additions and 10 deletions
|
@ -293,8 +293,7 @@ static struct mc13xxx_platform_data mc13783_pdata = {
|
|||
.num_regulators = ARRAY_SIZE(mx27_3ds_regulators),
|
||||
|
||||
},
|
||||
.flags = MC13XXX_USE_REGULATOR | MC13XXX_USE_TOUCHSCREEN |
|
||||
MC13XXX_USE_RTC,
|
||||
.flags = MC13XXX_USE_TOUCHSCREEN | MC13XXX_USE_RTC,
|
||||
};
|
||||
|
||||
/* SPI */
|
||||
|
|
|
@ -494,7 +494,7 @@ static struct mc13xxx_platform_data mc13783_pdata = {
|
|||
.regulators = mx31_3ds_regulators,
|
||||
.num_regulators = ARRAY_SIZE(mx31_3ds_regulators),
|
||||
},
|
||||
.flags = MC13XXX_USE_REGULATOR | MC13XXX_USE_TOUCHSCREEN,
|
||||
.flags = MC13XXX_USE_TOUCHSCREEN,
|
||||
};
|
||||
|
||||
/* SPI */
|
||||
|
|
|
@ -112,8 +112,7 @@ static const struct spi_imx_master spi1_pdata __initconst = {
|
|||
};
|
||||
|
||||
static struct mc13xxx_platform_data mc13783_pdata __initdata = {
|
||||
.flags = MC13XXX_USE_RTC |
|
||||
MC13XXX_USE_REGULATOR,
|
||||
.flags = MC13XXX_USE_RTC,
|
||||
};
|
||||
|
||||
static struct spi_board_info mc13783_spi_dev __initdata = {
|
||||
|
|
|
@ -270,8 +270,7 @@ static struct mc13xxx_platform_data moboard_pmic = {
|
|||
.num_regulators = ARRAY_SIZE(moboard_regulators),
|
||||
},
|
||||
.leds = &moboard_leds,
|
||||
.flags = MC13XXX_USE_REGULATOR | MC13XXX_USE_RTC |
|
||||
MC13XXX_USE_ADC | MC13XXX_USE_LED,
|
||||
.flags = MC13XXX_USE_RTC | MC13XXX_USE_ADC,
|
||||
};
|
||||
|
||||
static struct spi_board_info moboard_spi_board_info[] __initdata = {
|
||||
|
|
|
@ -266,8 +266,7 @@ static struct mc13xxx_platform_data pcm038_pmic = {
|
|||
.regulators = pcm038_regulators,
|
||||
.num_regulators = ARRAY_SIZE(pcm038_regulators),
|
||||
},
|
||||
.flags = MC13XXX_USE_ADC | MC13XXX_USE_REGULATOR |
|
||||
MC13XXX_USE_TOUCHSCREEN,
|
||||
.flags = MC13XXX_USE_ADC | MC13XXX_USE_TOUCHSCREEN,
|
||||
};
|
||||
|
||||
static struct spi_board_info pcm038_spi_board_info[] __initdata = {
|
||||
|
|
|
@ -567,7 +567,7 @@ static struct mc13xxx_regulator_init_data mx51_efika_regulators[] = {
|
|||
};
|
||||
|
||||
static struct mc13xxx_platform_data mx51_efika_mc13892_data = {
|
||||
.flags = MC13XXX_USE_RTC | MC13XXX_USE_REGULATOR,
|
||||
.flags = MC13XXX_USE_RTC,
|
||||
.regulators = {
|
||||
.num_regulators = ARRAY_SIZE(mx51_efika_regulators),
|
||||
.regulators = mx51_efika_regulators,
|
||||
|
|
Loading…
Reference in a new issue