2024-04-07 09:25:00

by Jean Delvare

[permalink] [raw]
Subject: [PATCH] mfd: Tidy Kconfig dependencies

Drop unneeded parentheses for clarity and consistency.

Signed-off-by: Jean Delvare <[email protected]>
Cc: Lee Jones <[email protected]>
---
drivers/mfd/Kconfig | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

--- linux-6.8.orig/drivers/mfd/Kconfig
+++ linux-6.8/drivers/mfd/Kconfig
@@ -292,7 +292,7 @@ config MFD_MADERA_SPI

config MFD_MAX5970
tristate "Maxim 5970/5978 power switch and monitor"
- depends on (I2C && OF)
+ depends on I2C && OF
select MFD_SIMPLE_MFD_I2C
help
This driver controls a Maxim 5970/5978 switch via I2C bus.
@@ -458,7 +458,7 @@ config MFD_EXYNOS_LPASS

config MFD_GATEWORKS_GSC
tristate "Gateworks System Controller"
- depends on (I2C && OF)
+ depends on I2C && OF
select MFD_CORE
select REGMAP_I2C
select REGMAP_IRQ
@@ -473,7 +473,7 @@ config MFD_GATEWORKS_GSC

config MFD_MC13XXX
tristate
- depends on (SPI_MASTER || I2C)
+ depends on SPI_MASTER || I2C
select MFD_CORE
select REGMAP_IRQ
help
@@ -1109,7 +1109,7 @@ config PCF50633_GPIO

config MFD_PM8XXX
tristate "Qualcomm PM8xxx PMIC chips driver"
- depends on (ARM || HEXAGON || COMPILE_TEST)
+ depends on ARM || HEXAGON || COMPILE_TEST
select IRQ_DOMAIN_HIERARCHY
select MFD_CORE
select REGMAP
@@ -1418,7 +1418,7 @@ config MFD_DB8500_PRCMU

config MFD_STMPE
bool "STMicroelectronics STMPE"
- depends on (I2C=y || SPI_MASTER=y)
+ depends on I2C=y || SPI_MASTER=y
depends on OF
select MFD_CORE
help
@@ -2116,7 +2116,7 @@ config MFD_STM32_TIMERS

config MFD_STPMIC1
tristate "Support for STPMIC1 PMIC"
- depends on (I2C=y && OF)
+ depends on I2C=y && OF
select REGMAP_I2C
select REGMAP_IRQ
select MFD_CORE


--
Jean Delvare
SUSE L3 Support


2024-04-11 15:47:55

by Lee Jones

[permalink] [raw]
Subject: Re: (subset) [PATCH] mfd: Tidy Kconfig dependencies

On Sun, 07 Apr 2024 11:24:45 +0200, Jean Delvare wrote:
> Drop unneeded parentheses for clarity and consistency.
>
>

Applied, thanks!

[1/1] mfd: Tidy Kconfig dependencies
commit: 74df506226990245f01cdedfaff06566c5c8fb7b

--
Lee Jones [李琼斯]