From f47531b1aa86e0bef898c1ff810f8486f469b111 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Mon, 12 Jan 2015 09:01:39 +0100 Subject: regulator: Update documentation after renaming function argument Update documentation for regulator_register() function after renaming its argument. Signed-off-by: Krzysztof Kozlowski Reported-by: kbuild test robot Signed-off-by: Mark Brown --- drivers/regulator/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/regulator') diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 685cc1500e38..d9a2ad57b17f 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -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 -- cgit v1.2.3