From: Paul Gortmaker Date: Mon, 12 Sep 2016 14:40:50 +0000 (-0400) Subject: mfd: as3722: Convert MFD_AS3722 from bool to tristate X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ed401e8ff47c0e935f6fc3c0726e9e480056c372;p=linux-beck.git mfd: as3722: Convert MFD_AS3722 from bool to tristate The Kconfig currently controlling compilation of this code is: drivers/mfd/Kconfig:config MFD_AS3722 drivers/mfd/Kconfig: bool "ams AS3722 Power Management IC" ...meaning that it currently is not being built as a module by anyone. In response to an earlier patch set suggesting removal of the unused modular code, Laxman suggested that this driver be instead moved to tristate. We do that here, and confirm it can build and modpost as a tristate. However there remains to be runtime testing in order to ensure this change is 100% functional for "=m". Cc: Florian Lobmaier Cc: Laxman Dewangan Signed-off-by: Paul Gortmaker Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index a23ef437572b..ceb29f31e6c8 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -50,7 +50,7 @@ config MFD_AS3711 Support for the AS3711 PMIC from AMS config MFD_AS3722 - bool "ams AS3722 Power Management IC" + tristate "ams AS3722 Power Management IC" select MFD_CORE select REGMAP_I2C select REGMAP_IRQ