Skip to contentSkip to conversation

regulator: isl6271a: Remove setting map_voltage callback for isl_fixed_ops

PATCH Applied Axel Lin 2 participants 2 messages Jun 8, 2012 – Jun 11, 2012 Voltage and current regulator framework

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

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.

---
 drivers/regulator/isl6271a-regulator.c |    1 -
 1 file changed, 1 deletion(-)
drivers/regulator/isl6271a-regulator.c +0 -1
index 4a11b82..1d145a0 100644
@@ -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
Applied
#1 lore raw
Quoted 2 lines · Axel Lin

isl_fixed_ops does not implement set_voltage_sel callback, adding map_voltage here is misleading.

Applied, thanks.