Skip to contentSkip to conversation

mfd: intel_soc_pmic_chtwc: Turn Kconfig option into a bool

PATCH RESEND Superseded Hans de Goede 2 participants 3 messages Aug 14, 2017 – Aug 15, 2017 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 mfd: intel_soc_pmic_chtwc: Turn Kconfig option into a bool

Hi Lee,

This one seems to have fallen through the cracks, would be nice to get this small fix into 4.14.

Thanks & Regards,

Hans

#1 lore raw

PATCH RESEND 1/1 mfd: intel_soc_pmic_chtwc: Turn Kconfig option into a bool

The PMIC provides ACPI OpRegions which must be available for other drivers' PS0 / PS3 methods early-on as such it must be builtin as the Kconfig help text already states.

Somehow its Kconfig option ended up being a tristate though, this fixes this.

---
Note, feel free to squash this in the original commit if you wish

---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/Kconfig +1 -1
index fcc9232a005b..10c495a73db3 100644
@@ -481,7 +481,7 @@ config INTEL_SOC_PMIC_BXTWC
 	  on these systems.
 
 config INTEL_SOC_PMIC_CHTWC
-	tristate "Support for Intel Cherry Trail Whiskey Cove PMIC"
+	bool "Support for Intel Cherry Trail Whiskey Cove PMIC"
 	depends on ACPI && HAS_IOMEM && I2C=y && COMMON_CLK
 	depends on X86 || COMPILE_TEST
 	select MFD_CORE
Signature · 1 line
2.13.4
Applied
#2 lore raw
Quoted 7 lines · Hans de Goede

The PMIC provides ACPI OpRegions which must be available for other drivers' PS0 / PS3 methods early-on as such it must be builtin as the Kconfig help text already states.

Somehow its Kconfig option ended up being a tristate though, this fixes this.

Quoted 6 lines

---
Note, feel free to squash this in the original commit if you wish

---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Signature · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog