mfd: as3722: Convert MFD_AS3722 from bool to tristate
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 12 Sep 2016 14:40:50 +0000 (10:40 -0400)
committerLee Jones <lee.jones@linaro.org>
Tue, 4 Oct 2016 14:48:03 +0000 (15:48 +0100)
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 <florian.lobmaier@ams.com>
Cc: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig

index a23ef43..ceb29f3 100644 (file)
@@ -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