regulator: isl6271a: Remove setting map_voltage callback for isl_fixed_ops
PATCH 1/1 regulator: isl6271a: Remove setting map_voltage callback for isl_fixed_ops
isl_fixed_ops does not implement set_voltage_sel callback, adding map_voltage here is misleading.
Signed-off-by Axel Lin <[email protected]>
--- drivers/regulator/isl6271a-regulator.c | 1 - 1 file changed, 1 deletion(-)
drivers/regulator/isl6271a-regulator.c +0 -1
@@ -81,7 +81,6 @@ static int isl6271a_get_fixed_voltage(struct regulator_dev *dev)static struct regulator_ops isl_fixed_ops = { .get_voltage = isl6271a_get_fixed_voltage, .list_voltage = regulator_list_voltage_linear, - .map_voltage = regulator_map_voltage_linear, };static const struct regulator_desc isl_rd[] = {
Signature · 1 line
1.7.9.5
Mark Brown
AppliedQuoted 2 lines · Axel Lin
isl_fixed_opsdoes not implementset_voltage_selcallback, addingmap_voltagehere is misleading.
Applied, thanks.