]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: rk808: Use rdev_get_id() to access id of regulator
authorAxel Lin <axel.lin@ingics.com>
Fri, 21 Oct 2016 02:30:16 +0000 (10:30 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 24 Oct 2016 16:49:37 +0000 (17:49 +0100)
commit0a0fad60a1930e98fa0287dfb8a0776aee982d0e
treeeedc290986aff3fb63d997848ea60a1d7f280460
parent1df7eb1ca477b826c461b694d57789b4da41844a
regulator: rk808: Use rdev_get_id() to access id of regulator

RK808_ID_DCDC1 is 0, no need to do subtract RK808_ID_DCDC1.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rk808-regulator.c