Browse Source

regulator: Fix documentation for regmap in the config

dev_get_regulator() does not exist, fix the typo.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Axel Lin 10 years ago
parent
commit
cf39284d41
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/regulator/driver.h

+ 1 - 1
include/linux/regulator/driver.h

@@ -316,7 +316,7 @@ struct regulator_desc {
  * @driver_data: private regulator data
  * @driver_data: private regulator data
  * @of_node: OpenFirmware node to parse for device tree bindings (may be
  * @of_node: OpenFirmware node to parse for device tree bindings (may be
  *           NULL).
  *           NULL).
- * @regmap: regmap to use for core regmap helpers if dev_get_regulator() is
+ * @regmap: regmap to use for core regmap helpers if dev_get_regmap() is
  *          insufficient.
  *          insufficient.
  * @ena_gpio_initialized: GPIO controlling regulator enable was properly
  * @ena_gpio_initialized: GPIO controlling regulator enable was properly
  *                        initialized, meaning that >= 0 is a valid gpio
  *                        initialized, meaning that >= 0 is a valid gpio