From: Daniel Lezcano Date: Thu, 2 Apr 2020 14:27:47 +0000 (+0200) Subject: thermal: Remove thermal_zone_device_update() stub X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0145f67866b71e8c1da3c1d9412623db7ba8a0c8;p=linux.git thermal: Remove thermal_zone_device_update() stub All users of the function depends on THERMAL, no stub is needed. Remove it. Signed-off-by: Daniel Lezcano Reviewed-by: Amit Kucheria Acked-by: Zhang Rui Link: https://lore.kernel.org/r/20200402142747.8307-9-daniel.lezcano@linaro.org --- diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 7b3dbfe15b59f..216185bb3014a 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -426,9 +426,6 @@ static inline struct thermal_zone_device *thermal_zone_device_register( static inline void thermal_zone_device_unregister( struct thermal_zone_device *tz) { } -static inline void thermal_zone_device_update(struct thermal_zone_device *tz, - enum thermal_notify_event event) -{ } static inline struct thermal_cooling_device * thermal_cooling_device_register(char *type, void *devdata, const struct thermal_cooling_device_ops *ops)