regulator: s2mpa01: Use rdev_get_id() to access id of regulator
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 6 May 2014 06:37:38 +0000 (08:37 +0200)
committerMark Brown <broonie@linaro.org>
Sat, 17 May 2014 13:30:06 +0000 (14:30 +0100)
commit0608032a9067c165e5ed75c56311a08cbb28564f
tree6755b4477dce4eb85b1227b32adfae656047986f
parent51e2fc0a251ba64c68207e4c6f6ac33c891b2465
regulator: s2mpa01: Use rdev_get_id() to access id of regulator

Use regulator API rdev_get_id() to access id of regulator.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/s2mpa01.c