linux/drivers/staging/hikey9xx
Mauro Carvalho Chehab e086a9cd2b staging: regulator: hi6421v600-regulator: better handle modes
Instead of implementing a custom set of properties, set
valid_modes_mask based on having or not a mask for enabling
the eco_mode.

This makes the code clearer, and remove some uneeded props
from DT.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/0f4ac5a4167bbca428c8507b6992acd8b3ebabd1.1597647359.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-08-18 16:15:26 +02:00
..
hi6421-spmi-pmic.c staging: mfd: hi6421-spmi-pmic: cleanup the code 2020-08-18 16:15:25 +02:00
hi6421v600-regulator.c staging: regulator: hi6421v600-regulator: better handle modes 2020-08-18 16:15:26 +02:00
hisi-spmi-controller.c staging: spmi: hisi-spmi-controller: do some code cleanups 2020-08-18 16:15:23 +02:00
Kconfig staging: mfd: hi6421-spmi-pmic: add it to the building system 2020-08-18 16:15:24 +02:00
Makefile staging: mfd: hi6421-spmi-pmic: add it to the building system 2020-08-18 16:15:24 +02:00