From: "Philippe Rétornaz" <philippe.retornaz@epfl.ch> To: s.hauer@pengutronix.de 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, philippe.retornaz@epfl.ch Subject: [PATCH 3/6] mc13xxx: Unconditionally register regulator subdevice Date: Thu, 21 Jul 2011 17:10:03 +0200 [thread overview] Message-ID: <1311261006-28048-4-git-send-email-philippe.retornaz@epfl.ch> (raw) In-Reply-To: <1311261006-28048-3-git-send-email-philippe.retornaz@epfl.ch> Signed-off-by: Philippe Rétornaz <philippe.retornaz@epfl.ch> --- drivers/mfd/mc13xxx-core.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c index 573e16b..a940be5 100644 --- a/drivers/mfd/mc13xxx-core.c +++ b/drivers/mfd/mc13xxx-core.c @@ -763,10 +763,8 @@ err_revision: if (pdata->flags & MC13XXX_USE_CODEC) mc13xxx_add_subdevice(mc13xxx, "%s-codec"); - if (pdata->flags & MC13XXX_USE_REGULATOR) { - mc13xxx_add_subdevice_pdata(mc13xxx, "%s-regulator", - &pdata->regulators, sizeof(pdata->regulators)); - } + mc13xxx_add_subdevice_pdata(mc13xxx, "%s-regulator", + &pdata->regulators, sizeof(pdata->regulators)); if (pdata->flags & MC13XXX_USE_RTC) mc13xxx_add_subdevice(mc13xxx, "%s-rtc"); -- 1.6.3.3 -- 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
WARNING: multiple messages have this Message-ID (diff)
From: philippe.retornaz@epfl.ch (Philippe Rétornaz) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/6] mc13xxx: Unconditionally register regulator subdevice Date: Thu, 21 Jul 2011 17:10:03 +0200 [thread overview] Message-ID: <1311261006-28048-4-git-send-email-philippe.retornaz@epfl.ch> (raw) In-Reply-To: <1311261006-28048-3-git-send-email-philippe.retornaz@epfl.ch> Signed-off-by: Philippe R?tornaz <philippe.retornaz@epfl.ch> --- drivers/mfd/mc13xxx-core.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c index 573e16b..a940be5 100644 --- a/drivers/mfd/mc13xxx-core.c +++ b/drivers/mfd/mc13xxx-core.c @@ -763,10 +763,8 @@ err_revision: if (pdata->flags & MC13XXX_USE_CODEC) mc13xxx_add_subdevice(mc13xxx, "%s-codec"); - if (pdata->flags & MC13XXX_USE_REGULATOR) { - mc13xxx_add_subdevice_pdata(mc13xxx, "%s-regulator", - &pdata->regulators, sizeof(pdata->regulators)); - } + mc13xxx_add_subdevice_pdata(mc13xxx, "%s-regulator", + &pdata->regulators, sizeof(pdata->regulators)); if (pdata->flags & MC13XXX_USE_RTC) mc13xxx_add_subdevice(mc13xxx, "%s-rtc"); -- 1.6.3.3
next prev parent reply other threads:[~2011-07-21 14:37 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-07-21 15:10 [PATCH v4 0/6] mc13783: add pwr button support Philippe Rétornaz 2011-07-21 15:10 ` Philippe Rétornaz 2011-07-21 14:44 ` Uwe Kleine-König 2011-07-21 14:44 ` Uwe Kleine-König 2011-07-21 15:10 ` [PATCH 1/6] mc13783: add power " Philippe Rétornaz 2011-07-21 15:10 ` Philippe Rétornaz 2011-07-21 15:10 ` [PATCH 2/6] mx31moboard: Add MC13783 " Philippe Rétornaz 2011-07-21 15:10 ` Philippe Rétornaz 2011-07-21 15:10 ` Philippe Rétornaz [this message] 2011-07-21 15:10 ` [PATCH 3/6] mc13xxx: Unconditionally register regulator subdevice Philippe Rétornaz 2011-07-21 15:10 ` [PATCH 4/6] mc13xxx: implicitly register led subdevice Philippe Rétornaz 2011-07-21 15:10 ` Philippe Rétornaz 2011-07-21 15:10 ` [PATCH 5/6] mc13xxx: remove obsolete leds and regualtors flags Philippe Rétornaz 2011-07-21 15:10 ` Philippe Rétornaz 2011-07-21 15:10 ` [PATCH 6/6] mc13xxx: remove unused define Philippe Rétornaz 2011-07-21 15:10 ` Philippe Rétornaz 2011-07-22 1:39 ` [PATCH 1/6] mc13783: add power button support Shawn Guo 2011-07-22 1:39 ` Shawn Guo
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=1311261006-28048-4-git-send-email-philippe.retornaz@epfl.ch \ --to=philippe.retornaz@epfl.ch \ --cc=amit.kucheria@canonical.com \ --cc=broonie@opensource.wolfsonmicro.com \ --cc=dmitry.torokhov@gmail.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-input@vger.kernel.org \ --cc=s.hauer@pengutronix.de \ --cc=sameo@linux.intel.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.