[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200715191438.29312-1-colton.w.lewis@protonmail.com>
Date: Wed, 15 Jul 2020 19:15:00 +0000
From: Colton Lewis <colton.w.lewis@...tonmail.com>
To: lgirdwood@...il.com
Cc: broonie@...nel.org, linux-kernel@...r.kernel.org,
Colton Lewis <colton.w.lewis@...tonmail.com>
Subject: [PATCH] regulator: Correct kernel-doc inconsistency
Silence documentation build warning by correcting kernel-doc comments.
./include/linux/regulator/machine.h:196: warning: Function parameter or member 'max_uV_step' not described in 'regulation_constraints'
./include/linux/regulator/driver.h:206: warning: Function parameter or member 'resume' not described in 'regulator_ops'
Signed-off-by: Colton Lewis <colton.w.lewis@...tonmail.com>
---
include/linux/regulator/driver.h | 2 +-
include/linux/regulator/machine.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h
index 7eb9fea8e482..7258e678d809 100644
--- a/include/linux/regulator/driver.h
+++ b/include/linux/regulator/driver.h
@@ -117,7 +117,7 @@ enum regulator_status {
* suspended.
* @set_suspend_mode: Set the operating mode for the regulator when the
* system is suspended.
- *
+ * @resume: Resume operation of suspended regulator.
* @set_pull_down: Configure the regulator to pull down when the regulator
* is disabled.
*
diff --git a/include/linux/regulator/machine.h b/include/linux/regulator/machine.h
index a84cc8879c3e..8a56f033b6cd 100644
--- a/include/linux/regulator/machine.h
+++ b/include/linux/regulator/machine.h
@@ -101,6 +101,7 @@ struct regulator_state {
* @system_load: Load that isn't captured by any consumer requests.
*
* @max_spread: Max possible spread between coupled regulators
+ * @max_uV_step: Max possible step change in voltage
* @valid_modes_mask: Mask of modes which may be configured by consumers.
* @valid_ops_mask: Operations which may be performed by consumers.
*
--
2.26.2
Powered by blists - more mailing lists