spmi: Fix kernel-doc
PATCH 1/1 spmi: Fix kernel-doc
drivers/spmi/spmi.c:414: warning: expecting prototype for spmi_controller_alloc(). Prototype was for spmi_device_alloc() instead.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- drivers/spmi/spmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spmi/spmi.c +1 -1
@@ -404,7 +404,7 @@ struct spmi_device *spmi_device_from_of(struct device_node *np)EXPORT_SYMBOL_GPL (spmi_device_from_of);/** -* spmi_controller_alloc() - Allocate a new SPMI device +* spmi_device_alloc() - Allocate a new SPMI device * @ctrl: associated controller * * Caller is responsible for either calling spmi_device_add() to add the
Signature · 1 line
2.20.1.7.g153144c