projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d084123
)
regulator: Fix MFD_MAX597X dependency
author
Mark Brown
<broonie@kernel.org>
Thu, 7 Jul 2022 11:17:53 +0000
(12:17 +0100)
committer
Mark Brown
<broonie@kernel.org>
Thu, 7 Jul 2022 11:23:44 +0000
(12:23 +0100)
Drivers should depend on rather than select their MFDs.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link:
https://lore.kernel.org/r/20220707111753.16581-1-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/regulator/Kconfig
b/drivers/regulator/Kconfig
index aedc4cba9240f7aad3f3041fa8e42e029a859d6c..23e3e4a35cc9440c3809e51169040eff0d9c39e8 100644
(file)
--- a/
drivers/regulator/Kconfig
+++ b/
drivers/regulator/Kconfig
@@
-550,7
+550,7
@@
config REGULATOR_MAX597X
tristate "Maxim 597x power switch and monitor"
depends on I2C
depends on OF
-
select
MFD_MAX597X
+
depends on
MFD_MAX597X
help
This driver controls a Maxim 5970/5978 switch via I2C bus.
The MAX5970/5978 is a smart switch with no output regulation, but