mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
thermal/core: Correct function name thermal_zone_device_unregister()
[ Upstream commit a052b5118f ]
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>
This commit is contained in:
parent
6c099d595f
commit
bd40e2da3a
|
|
@ -1509,7 +1509,7 @@ thermal_zone_device_register(const char *type, int trips, int mask,
|
||||||
EXPORT_SYMBOL_GPL(thermal_zone_device_register);
|
EXPORT_SYMBOL_GPL(thermal_zone_device_register);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* thermal_device_unregister - removes the registered thermal zone device
|
* thermal_zone_device_unregister - removes the registered thermal zone device
|
||||||
* @tz: the thermal zone device to remove
|
* @tz: the thermal zone device to remove
|
||||||
*/
|
*/
|
||||||
void thermal_zone_device_unregister(struct thermal_zone_device *tz)
|
void thermal_zone_device_unregister(struct thermal_zone_device *tz)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user