[<prev] [next>] [day] [month] [year] [list]
Message-ID: <d4cfd9fb-743c-6778-5e2f-fc5f5e51a8dd@infradead.org>
Date: Tue, 4 Sep 2018 08:30:05 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: LKML <linux-kernel@...r.kernel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>
Subject: [PATCH v3] regulator: fix kernel-doc for regulator_suspend()
From: Randy Dunlap <rdunlap@...radead.org>
Fix kernel-doc warning:
../drivers/regulator/core.c:4479: warning: Excess function parameter 'state' description in 'regulator_suspend'
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Liam Girdwood <lgirdwood@...il.com>
Cc: Mark Brown <broonie@...nel.org>
---
v2: add missing Cc:s and update patch description.
v3: respin, v2 did not apply cleanly.
drivers/regulator/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20180904.orig/drivers/regulator/core.c
+++ linux-next-20180904/drivers/regulator/core.c
@@ -4466,7 +4466,7 @@ EXPORT_SYMBOL_GPL(regulator_unregister);
#ifdef CONFIG_SUSPEND
/**
* regulator_suspend - prepare regulators for system wide suspend
- * @state: system suspend state
+ * @dev: ``&struct device`` pointer that is passed to _regulator_suspend()
*
* Configure each regulator with it's suspend operating parameters for state.
*/
Powered by blists - more mailing lists