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),
|
.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 = {
|
||||||
.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 = {
|
||||||
};
|
};
|
||||||
|
|
||||||
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 = {
|
||||||
.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 = {
|
||||||
.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[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
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,
|
||||||
|
|
Loading…
Reference in a new issue