[RFT][PATCH] regulator: ab8500: Remove get_voltage_sel for fixed voltage

2013-02-17 Thread Axel Lin
Current code sets get_voltage_sel to ab8500_regulator_get_voltage_sel, however both ab8500_regulator_mode_ops and ab8500_regulator_ops do not have voltage_bank, voltage_reg and voltage_mask settings. So it looks wrong to use ab8500_regulator_get_voltage_sel as get_voltage_sel callback in these

[RFT][PATCH] regulator: ab8500: Remove get_voltage_sel for fixed voltage

2013-02-17 Thread Axel Lin
Current code sets get_voltage_sel to ab8500_regulator_get_voltage_sel, however both ab8500_regulator_mode_ops and ab8500_regulator_ops do not have voltage_bank, voltage_reg and voltage_mask settings. So it looks wrong to use ab8500_regulator_get_voltage_sel as get_voltage_sel callback in these