projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7084185
)
thermal: Remove thermal_zone_device_update() stub
author
Daniel Lezcano
<daniel.lezcano@linaro.org>
Thu, 2 Apr 2020 14:27:47 +0000
(16:27 +0200)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Tue, 14 Apr 2020 09:41:12 +0000
(11:41 +0200)
All users of the function depends on THERMAL, no stub is
needed. Remove it.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Link:
https://lore.kernel.org/r/20200402142747.8307-9-daniel.lezcano@linaro.org
include/linux/thermal.h
patch
|
blob
|
history
diff --git
a/include/linux/thermal.h
b/include/linux/thermal.h
index 7b3dbfe15b59ff5ffb5997259d7886939ace09d2..216185bb3014a510122aea63a99edf877fb36890 100644
(file)
--- 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)