[PATCH v4 3/4] regulator: simplify twl4030 config

From: Felipe Contreras
Date: Mon Dec 19 2011 - 20:16:17 EST


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@xxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/