[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220919030429.2303-1-jiapeng.chong@linux.alibaba.com>
Date: Mon, 19 Sep 2022 11:04:29 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: sboyd@...nel.org
Cc: linux-kernel@...r.kernel.org,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH] spmi: Fix kernel-doc
drivers/spmi/spmi.c:414: warning: expecting prototype for spmi_controller_alloc(). Prototype was for spmi_device_alloc() instead.
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2207
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
drivers/spmi/spmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spmi/spmi.c b/drivers/spmi/spmi.c
index a456ce5141e1..9c07a4ca5d50 100644
--- a/drivers/spmi/spmi.c
+++ b/drivers/spmi/spmi.c
@@ -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
--
2.20.1.7.g153144c
Powered by blists - more mailing lists