Commit 8b2ea897 authored by Yang Li's avatar Yang Li Committed by Daniel Lezcano

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: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
Reviewed-by: default avatarLukasz Luba <lukasz.luba@arm.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1623223350-128104-1-git-send-email-yang.lee@linux.alibaba.com
parent da5e562f
...@@ -458,7 +458,7 @@ struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df) ...@@ -458,7 +458,7 @@ struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df)
EXPORT_SYMBOL_GPL(devfreq_cooling_register); 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) * power information and automatically register Energy Model (EM)
* @df: Pointer to devfreq device. * @df: Pointer to devfreq device.
* @dfc_power: Pointer to devfreq_cooling_power. * @dfc_power: Pointer to devfreq_cooling_power.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment