Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: aspeed: Fix documentation

Fixes these warnings:

pinctrl-aspeed.c:112: warning: Function parameter or member 'map' not
described in 'aspeed_sig_desc_eval'
pinctrl-aspeed.c:112: warning: Excess function parameter 'regmap'
description in 'aspeed_sig_desc_eval'

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Joel Stanley and committed by
Linus Walleij
74677701 a319b561

+2 -2
+2 -2
drivers/pinctrl/aspeed/pinctrl-aspeed.c
··· 95 95 * 96 96 * @desc: The signal descriptor of interest 97 97 * @enabled: True to query the enabled state, false to query disabled state 98 - * @regmap: The IP block's regmap instance 98 + * @map: The IP block's regmap instance 99 99 * 100 100 * Return: 1 if the descriptor's bitfield is configured to the state 101 101 * selected by @enabled, 0 if not, and less than zero if an unrecoverable ··· 594 594 /** 595 595 * @param: pinconf configuration parameter 596 596 * @arg: The supported argument for @param, or -1 if any value is supported 597 - * @value: The register value to write to configure @arg for @param 597 + * @val: The register value to write to configure @arg for @param 598 598 * 599 599 * The map is to be used in conjunction with the configuration array supplied 600 600 * by the driver implementation.