summaryrefslogtreecommitdiff
path: root/include/linux/spmi.h
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2026-04-16 15:48:33 -0700
committerStephen Boyd <sboyd@kernel.org>2026-05-28 18:28:33 -0700
commit0c766f0f08ea681396814fd82eddd299da188625 (patch)
tree550b56c507b2820aa0a79a0352f4219179753152 /include/linux/spmi.h
parente08ee0e3b521aeffefcb0438a48e17e81af66eae (diff)
downloadlinux-next-0c766f0f08ea681396814fd82eddd299da188625.tar.gz
linux-next-0c766f0f08ea681396814fd82eddd299da188625.zip
spmi: clean up kernel-doc in spmi.h
Fix all kernel-doc warnings in spmi.h: Warning: include/linux/spmi.h:114 function parameter 'ctrl' not described in 'spmi_controller_put' Warning: include/linux/spmi.h:144 struct member 'shutdown' not described in 'spmi_driver' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/linux/spmi.h')
-rw-r--r--include/linux/spmi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/spmi.h b/include/linux/spmi.h
index 28e8c8bd3944..671ce1b3ee8e 100644
--- a/include/linux/spmi.h
+++ b/include/linux/spmi.h
@@ -109,7 +109,7 @@ struct spmi_controller *spmi_controller_alloc(struct device *parent,
/**
* spmi_controller_put() - decrement controller refcount
- * @ctrl SPMI controller.
+ * @ctrl: SPMI controller.
*/
static inline void spmi_controller_put(struct spmi_controller *ctrl)
{
@@ -129,6 +129,7 @@ int devm_spmi_controller_add(struct device *parent, struct spmi_controller *ctrl
* this structure.
* @probe: binds this driver to a SPMI device.
* @remove: unbinds this driver from the SPMI device.
+ * @shutdown: shuts down this driver.
*
* If PM runtime support is desired for a slave, a device driver can call
* pm_runtime_put() from their probe() routine (and a balancing