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>
This commit is contained in:
Krzysztof Kozlowski 2014-05-06 08:37:38 +02:00 • committed by Mark Brown
commit 0608032a90