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

From: Andrew F. Davis
Date: Tue Sep 15 2015 - 13:58:32 EST


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@xxxxxx>
---
drivers/gpio/Kconfig | 2 +-
drivers/regulator/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

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.

--
1.9.1

--
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/