Axel Lin b4bc9ef625 regulator: tps65217: Convert to regulator_[is_enabled|get_voltage_sel]_regmap
This patch converts .is_enabled and .get_voltage_sel to
regulator_is_enabled_regmap and regulator_get_voltage_sel_regmap.

For .enable, .disable, and .set_voltage_sel, the write protect level is either
1 or 2. So we cannot use regulator_[enable|disable|set_voltage_sel]_regmap.

Now we store the enable reg/mask and vsel reg/mask in regulator_desc,
so we can remove enable_mask, set_vout_reg, and set_vout_mask from
struct tps_info.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-06-13 18:57:56 +01:00
..
2012-05-29 11:53:11 -07:00
2012-05-29 11:53:11 -07:00
2012-05-29 11:53:11 -07:00
2012-05-29 11:53:11 -07:00
2012-05-02 00:39:55 +02:00
2012-05-29 11:53:11 -07:00
2012-05-20 17:27:06 +02:00
2012-05-18 16:54:47 +01:00
2012-05-04 13:25:16 +01:00