]> git.baikalelectronics.ru Git - kernel.git/commitdiff
regulator: Correct kernel-doc inconsistency
authorColton Lewis <colton.w.lewis@protonmail.com>
Wed, 15 Jul 2020 19:15:00 +0000 (19:15 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 16 Jul 2020 23:16:50 +0000 (00:16 +0100)
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@protonmail.com>
Link: https://lore.kernel.org/r/20200715191438.29312-1-colton.w.lewis@protonmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regulator/driver.h
include/linux/regulator/machine.h

index 436df3ba0b2abea8c1e6ac155acfa1c210e547cd..8539f34ae42b2774ba43c28854e3a42b46fa1906 100644 (file)
@@ -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.
  *
index a84cc8879c3e086804b7ea02e19d150133d8cbb4..8a56f033b6cded262c29ee761501293a3ec59fbe 100644 (file)
@@ -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.
  *