* [PATCH v2] spmi: clean up kernel-doc in spmi.h
@ 2026-04-16 22:48 Randy Dunlap
2026-05-29 1:28 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2026-04-16 22:48 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, Stephen Boyd
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>
---
v2: change Cc:<tab> to Cc:<space>; rebase
Cc: Stephen Boyd <sboyd@kernel.org>
include/linux/spmi.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- linux-next-20260415.orig/include/linux/spmi.h
+++ linux-next-20260415/include/linux/spmi.h
@@ -109,7 +109,7 @@ struct spmi_controller *spmi_controller_
/**
* 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 devi
* 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] spmi: clean up kernel-doc in spmi.h
2026-04-16 22:48 [PATCH v2] spmi: clean up kernel-doc in spmi.h Randy Dunlap
@ 2026-05-29 1:28 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2026-05-29 1:28 UTC (permalink / raw)
To: Randy Dunlap, linux-kernel; +Cc: Randy Dunlap
Quoting Randy Dunlap (2026-04-16 15:48:33)
> 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>
> ---
Applied to spmi-next
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-29 1:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-16 22:48 [PATCH v2] spmi: clean up kernel-doc in spmi.h Randy Dunlap
2026-05-29 1:28 ` Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®