]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
regulator: rk808: Migrate to regulator core's simplified DT parsing code
authorWadim Egorov <w.egorov@phytec.de>
Tue, 10 May 2016 13:18:55 +0000 (15:18 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 13 May 2016 11:19:57 +0000 (12:19 +0100)
commit9e9daa0a67d59df432664cdca1cf4659057fd00c
tree1b720296c1df1f0c25290b8fa7d9c69ff6a84d9e
parent129d7cf98f5c739014ae5aa0311e48f6a64b0758
regulator: rk808: Migrate to regulator core's simplified DT parsing code

A common simplified DT parsing code for regulators was introduced in
commit a0c7b164ad11 ("regulator: of: Provide simplified DT parsing
method")

While at it also added RK8XX_DESC and RK8XX_DESC_SWITCH macros for the
regulator_desc struct initialization. This just makes the driver more compact.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rk808-regulator.c