]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: regulator: hi6421v600-regulator: cleanup DT settings
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 17 Aug 2020 07:10:56 +0000 (09:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 14:15:27 +0000 (16:15 +0200)
commit6f9bd6e2621e6bbfd1aa152f97b3030375a5feb2
tree147a094a2e2c83fc74dddbc8419ee6dc8104644e
parent6105e9ab64c6dea7337a4c9bc996e0cdde59a799
staging: regulator: hi6421v600-regulator: cleanup DT settings

Currently, an array is used to store both vsel and enable
settings, mixing registers, masks and bit settings.

Change it in order to have one separate property for each.

This makes easier to understand the contents of the DT
file, and to describe it at the Documentation/.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/fd72215b0a7da55dd727c2d7bd01c047a46cdd2e.1597647359.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hikey9xx/hi6421v600-regulator.c