mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
	"Felipe Balbi" <balbi@ti.com>,
	"Vladimir Zapolskiy" <vz@mleia.com>,
	"Felipe Contreras" <felipe.contreras@gmail.com>,
	"Liam Girdwood" <lrg@ti.com> (supporter:VOLTAGE AND CURRE...),
	"Mark Brown" <broonie@opensource.wolfsonmicro.com>
	(supporter:VOLTAGE AND CURRE...)
Subject: [PATCH v4 3/4] regulator: simplify twl4030 config
Date: Tue, 20 Dec 2011 03:15:16 +0200	[thread overview]
Message-ID: <1324343717-7292-4-git-send-email-felipe.contreras@gmail.com> (raw)
In-Reply-To: <1324343717-7292-1-git-send-email-felipe.contreras@gmail.com>

If we have TWL4030_CORE and REGULATOR, we *obviously* want
REGULATOR_TWL4030 by default. But can be disabled if somebody wants for
some strange reason.

This decreases the defconfig from:

 CONFIG_TWL4030_CORE=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_TWL4030=y

To:

 CONFIG_TWL4030_CORE=y
 CONFIG_REGULATOR=y

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 drivers/regulator/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 9713b1b..e980b2f 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -138,6 +138,7 @@ config REGULATOR_MAX8998
 config REGULATOR_TWL4030
 	bool "TI TWL4030/TWL5030/TWL6030/TPS659x0 PMIC"
 	depends on TWL4030_CORE
+	default y
 	help
 	  This driver supports the voltage regulators provided by
 	  this family of companion chips.
-- 
1.7.8.rc1.14.g248db


  parent reply	other threads:[~2011-12-20  1:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-20  1:15 [PATCH v4 0/4] Simplifications on Kconfigs Felipe Contreras
2011-12-20  1:15 ` [PATCH v4 1/4] mfd: simplify twl4030_power config Felipe Contreras
2011-12-20  1:15 ` [PATCH v4 2/4] mfd: simplify twl4030_core config Felipe Contreras
2011-12-20  1:15 ` Felipe Contreras [this message]
2011-12-20  1:19   ` [PATCH v4 3/4] regulator: simplify twl4030 config Mark Brown
2011-12-20  1:36     ` Felipe Contreras
2011-12-20  1:53       ` Mark Brown
2011-12-20  2:04         ` Felipe Contreras
2011-12-20  2:17           ` Mark Brown
2011-12-20  1:25   ` Mark Brown
2011-12-20  1:43     ` Felipe Contreras
2011-12-20  1:15 ` [PATCH v4 4/4] usb: simplify hdrc configuration Felipe Contreras
2011-12-20 11:04   ` Felipe Balbi
2011-12-20 20:25     ` Felipe Contreras

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=1324343717-7292-4-git-send-email-felipe.contreras@gmail.com \
    --to=felipe.contreras@gmail.com \
    --cc=balbi@ti.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lrg@ti.com \
    --cc=u.kleine-koenig@pengutronix.de \
    --cc=vz@mleia.com \
    /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

all inboxes | Powered by JetHome®