]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/core: Correct function name thermal_zone_device_unregister()
authorYang Yingliang <yangyingliang@huawei.com>
Mon, 17 May 2021 05:10:20 +0000 (13:10 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 12 Jun 2021 19:10:06 +0000 (21:10 +0200)
commitf25e3daacd3acff38904038c00c17312f862d3a9
treea9086388084b7763a7767b8d0003ca3225918b17
parent053e9f966319b213cc9ea358fe6ea067ffb6e58c
thermal/core: Correct function name thermal_zone_device_unregister()

Fix the following make W=1 kernel build warning:

  drivers/thermal/thermal_core.c:1376: warning: expecting prototype for thermal_device_unregister(). Prototype was for thermal_zone_device_unregister() instead

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210517051020.3463536-1-yangyingliang@huawei.com
drivers/thermal/thermal_core.c