Re: [PATCH RFT 2/2] regulator: palmas: Convert palmas_ops_ldo to [get|set]_voltage_sel_regmap

2012-07-17 Thread Axel Lin
於 三,2012-07-18 於 11:49 +0800,Axel Lin 提到: > Also remove palmas_ldo_write() function because it is not used after this > conversion. Oh. Just found another issue in current code. Current code in palmas_ldo_init() calls palmas_smps_[read|write] is wrong. It should call palmas_ldo_[read|write]

[PATCH RFT 2/2] regulator: palmas: Convert palmas_ops_ldo to [get|set]_voltage_sel_regmap

2012-07-17 Thread Axel Lin
Also remove palmas_ldo_write() function because it is not used after this conversion. Signed-off-by: Axel Lin --- drivers/regulator/palmas-regulator.c | 55 -- 1 file changed, 5 insertions(+), 50 deletions(-) diff --git a/drivers/regulator/palmas-regulator.c

[PATCH RFT 2/2] regulator: palmas: Convert palmas_ops_ldo to [get|set]_voltage_sel_regmap

2012-07-17 Thread Axel Lin
Also remove palmas_ldo_write() function because it is not used after this conversion. Signed-off-by: Axel Lin axel@gmail.com --- drivers/regulator/palmas-regulator.c | 55 -- 1 file changed, 5 insertions(+), 50 deletions(-) diff --git

Re: [PATCH RFT 2/2] regulator: palmas: Convert palmas_ops_ldo to [get|set]_voltage_sel_regmap

2012-07-17 Thread Axel Lin
於 三,2012-07-18 於 11:49 +0800,Axel Lin 提到: Also remove palmas_ldo_write() function because it is not used after this conversion. Oh. Just found another issue in current code. Current code in palmas_ldo_init() calls palmas_smps_[read|write] is wrong. It should call palmas_ldo_[read|write]