2011-06-22 13:54:07

by Mark Brown

[permalink] [raw]
Subject: [PATCH] mfd: Don't ask about the TPS65912 core driver in Kconfig

The user has to select the I2C and SPI drivers individually and they select
the core driver for the device so there's no point in presenting the user
with an option for the core driver.

Signed-off-by: Mark Brown <[email protected]>
---
drivers/mfd/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 5494413..c5edb8b 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -172,7 +172,7 @@ config MFD_TPS6586X
will be called tps6586x.

config MFD_TPS65912
- bool "TPS65912 PMIC"
+ bool
depends on GPIOLIB

config MFD_TPS65912_I2C
--
1.7.5.4


2011-06-23 17:15:14

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] mfd: Don't ask about the TPS65912 core driver in Kconfig

On Wed, 22 Jun 2011 14:53:58 +0100 Mark Brown wrote:

> The user has to select the I2C and SPI drivers individually and they select
> the core driver for the device so there's no point in presenting the user
> with an option for the core driver.
>
> Signed-off-by: Mark Brown <[email protected]>

Acked-by: Randy Dunlap <[email protected]>

Thanks.

> ---
> drivers/mfd/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 5494413..c5edb8b 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -172,7 +172,7 @@ config MFD_TPS6586X
> will be called tps6586x.
>
> config MFD_TPS65912
> - bool "TPS65912 PMIC"
> + bool
> depends on GPIOLIB
>
> config MFD_TPS65912_I2C
> --


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***