This source file includes following definitions.
- thermal_add_hwmon_sysfs
- thermal_remove_hwmon_sysfs
1
2
3
4
5
6
7
8
9
10
11
12
13 #ifndef __THERMAL_HWMON_H__
14 #define __THERMAL_HWMON_H__
15
16 #include <linux/thermal.h>
17
18 #ifdef CONFIG_THERMAL_HWMON
19 int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz);
20 void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz);
21 #else
22 static inline int
23 thermal_add_hwmon_sysfs(struct thermal_zone_device *tz)
24 {
25 return 0;
26 }
27
28 static inline void
29 thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz)
30 {
31 }
32 #endif
33
34 #endif