regulator: s5m8767: Convert to use regulator_[enable|disable|is_enabled]_regmap
authorAxel Lin <axel.lin@ingics.com>
Fri, 21 Mar 2014 06:54:08 +0000 (14:54 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 21 Mar 2014 17:47:49 +0000 (17:47 +0000)
commit9c4c60554acfd6e32fe933cef43b2c16e65f1e4f
tree31d2067324acb598da4e583f036800c66575d136
parent4754b4211ddc9e6ebec97b0088a1c0ecb558f780
regulator: s5m8767: Convert to use regulator_[enable|disable|is_enabled]_regmap

Since commit ca5d1b3524b4d
"regulator: helpers: Modify helpers enabling multi-bit control",
we can set enable_val setting for device that use multiple bits for control.

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