[10/11] thermal: Remove thermal_zone_device_update() stub

Message ID 20191012065255.23249-10-daniel.lezcano@linaro.org
State Accepted
Commit 0145f67866b71e8c1da3c1d9412623db7ba8a0c8
Headers show
Series
  • [01/11] thermal: Move default governor config option to the internal header
Related show

Commit Message

Daniel Lezcano Oct. 12, 2019, 6:52 a.m.
All users of the function depends on THERMAL, no stub is
needed. Remove it.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

---
 include/linux/thermal.h | 3 ---
 1 file changed, 3 deletions(-)

-- 
2.17.1

Patch

diff --git a/include/linux/thermal.h b/include/linux/thermal.h
index ae72fe771e07..8daa179918a1 100644
--- a/include/linux/thermal.h
+++ b/include/linux/thermal.h
@@ -427,9 +427,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)