Skip to contentSkip to conversation

spmi: Fix kernel-doc

PATCH New Jiapeng Chong 1 participant 1 message Sep 19, 2022 SPMI

lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/spmi/spmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spmi/spmi.c +1 -1
index a456ce5141e1..9c07a4ca5d50 100644
@@ -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