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

regulator: fix kernel-doc for regulator_suspend()

Fix kernel-doc warning:

../drivers/regulator/core.c:4479: warning: Excess function parameter 'state' description in 'regulator_suspend'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Randy Dunlap and committed by
Mark Brown
1efef7cc cd7e36ab

+1 -1
+1 -1
drivers/regulator/core.c
··· 4466 4466 #ifdef CONFIG_SUSPEND 4467 4467 /** 4468 4468 * regulator_suspend - prepare regulators for system wide suspend 4469 - * @state: system suspend state 4469 + * @dev: ``&struct device`` pointer that is passed to _regulator_suspend() 4470 4470 * 4471 4471 * Configure each regulator with it's suspend operating parameters for state. 4472 4472 */