diff mbox series

[thermal:,thermal/next] thermal: devfreq_cooling: Fix kernel-doc

Message ID 162504546301.395.4482419179251470810.tip-bot2@tip-bot2
State Superseded
Headers show
Series [thermal:,thermal/next] thermal: devfreq_cooling: Fix kernel-doc | expand

Commit Message

thermal-bot for Julien Panis June 30, 2021, 9:31 a.m. UTC
The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     8e5045645e52de63cdc8e5a65968b96411cf95d9
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//8e5045645e52de63cdc8e5a65968b96411cf95d9
Author:        Yang Li <yang.lee@linux.alibaba.com>
AuthorDate:    Wed, 09 Jun 2021 15:22:30 +08:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Mon, 21 Jun 2021 16:08:36 +02:00

thermal: devfreq_cooling: Fix kernel-doc

Fix function name in devfreq_cooling.c comment to remove a
warning found by kernel-doc.

drivers/thermal/devfreq_cooling.c:479: warning: expecting prototype for
devfreq_cooling_em_register_power(). Prototype was for
devfreq_cooling_em_register() instead.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1623223350-128104-1-git-send-email-yang.lee@linux.alibaba.com
---
 drivers/thermal/devfreq_cooling.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/thermal/devfreq_cooling.c b/drivers/thermal/devfreq_cooling.c
index 3a788ac..5a86cff 100644
--- a/drivers/thermal/devfreq_cooling.c
+++ b/drivers/thermal/devfreq_cooling.c
@@ -458,7 +458,7 @@  struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df)
 EXPORT_SYMBOL_GPL(devfreq_cooling_register);
 
 /**
- * devfreq_cooling_em_register_power() - Register devfreq cooling device with
+ * devfreq_cooling_em_register() - Register devfreq cooling device with
  *		power information and automatically register Energy Model (EM)
  * @df:		Pointer to devfreq device.
  * @dfc_power:	Pointer to devfreq_cooling_power.