]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: act8945a: Use rdev_get_id() to access id of regulator
authorAxel Lin <axel.lin@ingics.com>
Fri, 4 Jan 2019 14:42:36 +0000 (22:42 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 7 Jan 2019 17:01:26 +0000 (17:01 +0000)
commitc59c5cf879c502651ce1e9b6d6a658be5b069233
tree7c34332ed61c4438342fe01529e8ca521262b015
parentd6952d4b95d3a6897fcea7446c97f59f8d24556b
regulator: act8945a: Use rdev_get_id() to access id of regulator

Use rdev_get_id() instead of directly access rdev->desc->id.

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