Skip to contentSkip to conversation

mfd: intel_soc_pmic_chtwc: Turn Kconfig option into a bool

PATCH Applied Hans de Goede 2 participants 4 messages Jun 23, 2017 – Jul 21, 2017 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 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 8533cb46a875..be962d128f31 100644
@@ -476,7 +476,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.0
Applied
#1 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.

Quoted 13 lines
drivers/mfd/Kconfig +1 -1
index 8533cb46a875..be962d128f31 100644
@@ -476,7 +476,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 · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
#2 lore raw
In reply to Hans de Goede
Quoted 10 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.

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

Looks like the original commit is yet to be accepted.

Please ensure it's squashed in and resubmit.

Quoted 17 lines
---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/Kconfig +1 -1
index 8533cb46a875..be962d128f31 100644
@@ -476,7 +476,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 · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
#3 lore raw

Hi,

Quoted 6 lines · Lee Jones
Quoted 4 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.

Quoted 8 lines
Quoted 6 lines

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

Looks like the original commit is yet to be accepted.

The original commit is already in Linus' tree:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/mfd?id=de85d79f4aab67fe0537dd6e2c5d545b88239cc4

Regards,

Hans

Quoted 21 lines

Please ensure it's squashed in and resubmit.

Quoted 17 lines
---
  drivers/mfd/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/Kconfig +1 -1
index 8533cb46a875..be962d128f31 100644
@@ -476,7 +476,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