diff mbox

[3/3] tps65912: Cleanup TPS65912 subdevice configuration dependencies

Message ID 1442339861-30300-4-git-send-email-afd@ti.com
State New
Headers show

Commit Message

Andrew Davis Sept. 15, 2015, 5:57 p.m. UTC
The TPS65912 subdevices depend on the mfd core and not any particular
interface. The core is only enabled by enabling an interface so this
is safe.

Signed-off-by: Andrew F. Davis <afd@ti.com>
---
 drivers/gpio/Kconfig      | 2 +-
 drivers/regulator/Kconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Mark Brown Sept. 16, 2015, 7:57 p.m. UTC | #1
On Tue, Sep 15, 2015 at 12:57:41PM -0500, Andrew F. Davis wrote:
> The TPS65912 subdevices depend on the mfd core and not any particular
> interface. The core is only enabled by enabling an interface so this
> is safe.

Acked-by: Mark Brown <broonie@kernel.org>
Linus Walleij Oct. 2, 2015, 10:23 a.m. UTC | #2
On Tue, Sep 15, 2015 at 10:57 AM, Andrew F. Davis <afd@ti.com> wrote:

> The TPS65912 subdevices depend on the mfd core and not any particular
> interface. The core is only enabled by enabling an interface so this
> is safe.
>
> Signed-off-by: Andrew F. Davis <afd@ti.com>

Acked-by: Linus Walleij <linus.walleij@linaro.org>

I assume Lee will merge this into the MFD tree.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index b4fc9e4..82218fa 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -840,7 +840,7 @@  config GPIO_TPS65910
 
 config GPIO_TPS65912
 	tristate "TI TPS65912 GPIO"
-	depends on (MFD_TPS65912_I2C || MFD_TPS65912_SPI)
+	depends on MFD_TPS65912
 	help
 	  This driver supports TPS65912 gpio chip
 
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 64bccff..1dec96a 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -729,7 +729,7 @@  config REGULATOR_TPS65910
 
 config REGULATOR_TPS65912
 	tristate "TI TPS65912 Power regulator"
-	depends on (MFD_TPS65912_I2C || MFD_TPS65912_SPI)
+	depends on MFD_TPS65912
 	help
 	    This driver supports TPS65912 voltage regulator chip.