Browse Source

pinctrl: pinmux: Fix kerneldoc for pinmux_generic_add_function()

Correct the incorrect function name and description.

Fixes: a76edc89b100e4fe ("pinctrl: core: Add generic pinctrl functions for managing groups")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Geert Uytterhoeven 8 years ago
parent
commit
6bffa7e163
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/pinctrl/pinmux.c

+ 1 - 1
drivers/pinctrl/pinmux.c

@@ -763,7 +763,7 @@ struct function_desc *pinmux_generic_get_function(struct pinctrl_dev *pctldev,
 EXPORT_SYMBOL_GPL(pinmux_generic_get_function);
 EXPORT_SYMBOL_GPL(pinmux_generic_get_function);
 
 
 /**
 /**
- * pinmux_generic_get_function_groups() - gets the function groups
+ * pinmux_generic_add_function() - adds a function group
  * @pctldev: pin controller device
  * @pctldev: pin controller device
  * @name: name of the function
  * @name: name of the function
  * @groups: array of pin groups
  * @groups: array of pin groups