]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jul 2021 12:35:12 +0000 (14:35 +0200)
commitd5bb148a3e8ae935a72a47bba354abfb099c8134
tree0930ebe95935b1748f2dc7d5f5c9ca8c7ed3b5fb
parenta96256794ff181d27e31eae396ca711e908ff523
thermal/core: Correct function name thermal_zone_device_unregister()

[ Upstream commit a052b5118f13febac1bd901fe0b7a807b9d6b51c ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/thermal/thermal_core.c