Skip to contentSkip to conversation

regulator: Fix the function name in documentation

PATCH New Krzysztof Kozlowski 1 participant 1 message Apr 19, 2015 Voltage and current regulator framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 regulator: Fix the function name in documentation

The function name in kernel-doc for regulator_map_voltage_linear_range() was wrong.

---
 drivers/regulator/helpers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/regulator/helpers.c +1 -1
index cbc39096c78d..3bbb32680a94 100644
@@ -268,21 +268,21 @@ int regulator_map_voltage_linear(struct regulator_dev *rdev,
 	/* Map back into a voltage to verify we're still in bounds */
 	voltage = rdev->desc->ops->list_voltage(rdev, ret);
 	if (voltage < min_uV || voltage > max_uV)
 		return -EINVAL;
 
 	return ret;
 }
 EXPORT_SYMBOL_GPL(regulator_map_voltage_linear);
 
 /**
- * regulator_map_voltage_linear - map_voltage() for multiple linear ranges
+ * regulator_map_voltage_linear_range - map_voltage() for multiple linear ranges
  *
  * @rdev: Regulator to operate on
  * @min_uV: Lower bound for voltage
  * @max_uV: Upper bound for voltage
  *
  * Drivers providing linear_ranges in their descriptor can use this as
  * their map_voltage() callback.
  */
 int regulator_map_voltage_linear_range(struct regulator_dev *rdev,
 				       int min_uV, int max_uV)
Signature · 1 line
2.1.0