regulator: pbias: Convert to use regulator_[enable|is_enabled]_regmap
authorAxel Lin <axel.lin@ingics.com>
Tue, 15 Apr 2014 04:02:08 +0000 (12:02 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 15 Apr 2014 09:28:46 +0000 (10:28 +0100)
commit75dbf0a0f96b0fda180676af51375f5d008b6c9c
tree28f99ad1bf52685c5ee99f8cc0b404a238cb0bf6
parent60e8c1e34d3ab74556fb9b25f26fa34b9879ee30
regulator: pbias: Convert to use regulator_[enable|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
when using regmap enable/disable/bypass ops.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/pbias-regulator.c