]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitbf8e27621effb49da525fb92a1f192db685d39bd
treeeedc290986aff3fb63d997848ea60a1d7f280460
parent1001354ca34179f3db924eb66672442a173147dc
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