.. | .. |
---|
17 | 17 | |
---|
18 | 18 | #ifdef CONFIG_THERMAL_HWMON |
---|
19 | 19 | int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz); |
---|
| 20 | +int devm_thermal_add_hwmon_sysfs(struct thermal_zone_device *tz); |
---|
20 | 21 | void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz); |
---|
21 | 22 | #else |
---|
22 | 23 | static inline int |
---|
.. | .. |
---|
25 | 26 | return 0; |
---|
26 | 27 | } |
---|
27 | 28 | |
---|
| 29 | +static inline int |
---|
| 30 | +devm_thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) |
---|
| 31 | +{ |
---|
| 32 | + return 0; |
---|
| 33 | +} |
---|
| 34 | + |
---|
28 | 35 | static inline void |
---|
29 | 36 | thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) |
---|
30 | 37 | { |
---|