From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Philippe Rétornaz" <philippe.retornaz@epfl.ch>
Cc: linux-arm-kernel@lists.infradead.org,
amit.kucheria@canonical.com, dmitry.torokhov@gmail.com,
sameo@linux.intel.com, linux-input@vger.kernel.org,
broonie@opensource.wolfsonmicro.com,
u.kleine-koenig@pengutronix.de, gaowanlong@cn.fujitsu.com,
shawn.guo@freescale.com
Subject: Re: [PATCH 3/6] mc13xxx: remove obsolete leds and regulators flags
Date: Thu, 25 Aug 2011 11:49:22 +0200 [thread overview]
Message-ID: <20110825094922.GQ31404@pengutronix.de> (raw)
In-Reply-To: <1311344232-29902-4-git-send-email-philippe.retornaz@epfl.ch>
On Fri, Jul 22, 2011 at 04:17:09PM +0200, Philippe Rétornaz wrote:
> Signed-off-by: Philippe Rétornaz <philippe.retornaz@epfl.ch>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
> arch/arm/mach-imx/mach-mx27_3ds.c | 1 -
> arch/arm/mach-imx/mach-mx31_3ds.c | 2 +-
> arch/arm/mach-imx/mach-mx31lite.c | 3 +--
> arch/arm/mach-imx/mach-mx31moboard.c | 3 +--
> arch/arm/mach-imx/mach-pcm038.c | 3 +--
> arch/arm/mach-mx5/mx51_efika.c | 2 +-
> 6 files changed, 5 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c
> index 6e1accf..8cd507d 100644
> --- a/arch/arm/mach-imx/mach-mx27_3ds.c
> +++ b/arch/arm/mach-imx/mach-mx27_3ds.c
> @@ -238,7 +238,6 @@ static struct mc13xxx_platform_data mc13783_pdata = {
> .num_regulators = ARRAY_SIZE(mx27_3ds_regulators),
>
> },
> - .flags = MC13783_USE_REGULATOR,
> };
>
> /* SPI */
> diff --git a/arch/arm/mach-imx/mach-mx31_3ds.c b/arch/arm/mach-imx/mach-mx31_3ds.c
> index 9b98244..7978f58 100644
> --- a/arch/arm/mach-imx/mach-mx31_3ds.c
> +++ b/arch/arm/mach-imx/mach-mx31_3ds.c
> @@ -496,7 +496,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 = MC13783_USE_TOUCHSCREEN,
> };
>
> /* SPI */
> diff --git a/arch/arm/mach-imx/mach-mx31lite.c b/arch/arm/mach-imx/mach-mx31lite.c
> index ac9b4ca..ae99cae 100644
> --- a/arch/arm/mach-imx/mach-mx31lite.c
> +++ b/arch/arm/mach-imx/mach-mx31lite.c
> @@ -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 = {
> diff --git a/arch/arm/mach-imx/mach-mx31moboard.c b/arch/arm/mach-imx/mach-mx31moboard.c
> index 12ee755..579ca1f 100644
> --- a/arch/arm/mach-imx/mach-mx31moboard.c
> +++ b/arch/arm/mach-imx/mach-mx31moboard.c
> @@ -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 = {
> diff --git a/arch/arm/mach-imx/mach-pcm038.c b/arch/arm/mach-imx/mach-pcm038.c
> index 853bb87..70aaa7d 100644
> --- a/arch/arm/mach-imx/mach-pcm038.c
> +++ b/arch/arm/mach-imx/mach-pcm038.c
> @@ -266,8 +266,7 @@ 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 = MC13783_USE_ADC | MC13783_USE_TOUCHSCREEN,
> };
>
> static struct spi_board_info pcm038_spi_board_info[] __initdata = {
> diff --git a/arch/arm/mach-mx5/mx51_efika.c b/arch/arm/mach-mx5/mx51_efika.c
> index 1105ef3..e2e4096 100644
> --- a/arch/arm/mach-mx5/mx51_efika.c
> +++ b/arch/arm/mach-mx5/mx51_efika.c
> @@ -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,
> --
> 1.6.3.3
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-08-25 9:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-22 14:17 [PATCH v6 0/6] mc13783: add pwr button support Philippe Rétornaz
2011-07-22 14:17 ` [PATCH 1/6] mc13xxx: Unconditionally register regulator subdevice Philippe Rétornaz
2011-07-22 14:17 ` [PATCH 2/6] mc13xxx: implicitly register led subdevice Philippe Rétornaz
2011-07-22 14:17 ` [PATCH 3/6] mc13xxx: remove obsolete leds and regulators flags Philippe Rétornaz
2011-07-22 14:17 ` [PATCH 4/6] mc13xxx: remove unused define Philippe Rétornaz
2011-07-22 14:17 ` [PATCH 5/6] mc13783: add power button support Philippe Rétornaz
2011-07-22 14:17 ` [PATCH 6/6] mx31moboard: Add MC13783 " Philippe Rétornaz
2011-08-25 9:50 ` Sascha Hauer
2011-08-25 9:49 ` Sascha Hauer [this message]
2011-07-24 3:44 ` [PATCH v6 0/6] mc13783: add pwr " Shawn Guo
2011-07-25 6:49 ` Philippe Rétornaz
2011-07-25 7:13 ` Shawn Guo
2011-07-25 7:12 ` Wanlong Gao
2011-07-27 10:34 ` Samuel Ortiz
2011-08-03 7:17 ` Philippe Rétornaz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110825094922.GQ31404@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=amit.kucheria@canonical.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=dmitry.torokhov@gmail.com \
--cc=gaowanlong@cn.fujitsu.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-input@vger.kernel.org \
--cc=philippe.retornaz@epfl.ch \
--cc=sameo@linux.intel.com \
--cc=shawn.guo@freescale.com \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).