Hello Rui, Here is a couple of fixes and cleanups on the thermal_sys.c. I am resending this series because it has been idling in the mainling list for some months already. So, before we forget them, I decided to resend. Again, one important change is the netlink channel, which I am proposing to have the zone id in each message. So far, looks like we can deprecate this API, but in this series, I keep it but now every message has the zone id. All best, Eduardo Valentin (4): thermal: Use thermal zone device id in netlink messages thermal: remove unnecessary include thermal: cleanup: use dev_* helper functions thermal: check for invalid trip setup when registering thermal device Documentation/thermal/sysfs-api.txt | 5 +++-- drivers/thermal/thermal_sys.c | 22 +++++++++++++++------- include/linux/thermal.h | 6 ++++-- 3 files changed, 22 insertions(+), 11 deletions(-) -- 1.7.7.1.488.ge8e1c