]> git.ipfire.org Git - thirdparty/kernel/linux.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)
commit557ce9d755d5ffc735f03a9a2ce2f1b4a3b23bd6
tree7c34332ed61c4438342fe01529e8ca521262b015
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
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