regulator: Update documentation after renaming function argument
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 12 Jan 2015 08:01:39 +0000 (09:01 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jan 2015 19:09:56 +0000 (19:09 +0000)
Update documentation for regulator_register() function after renaming
its argument.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c

index 685cc1500e381ed35e677d11c97436f1d5eb6228..d9a2ad57b17f94ac121ad81e4a08fade2c4ceb87 100644 (file)
@@ -3573,7 +3573,7 @@ static void rdev_init_debugfs(struct regulator_dev *rdev)
 /**
  * regulator_register - register regulator
  * @regulator_desc: regulator to register
- * @config: runtime configuration for regulator
+ * @cfg: runtime configuration for regulator
  *
  * Called by regulator drivers to register a regulator.
  * Returns a valid pointer to struct regulator_dev on success