The series add the devm_ version of thermal_zone_of_sensor_register/unregister and use this in new thermal driver for max77620. The header file for max77620 is part of MFD patch https://lkml.org/lkml/2016/2/11/186 Laxman Dewangan (3): thermal: of-thermal: Add devm version of thermal_zone_of_sensor_register thermal: Add devm_thermal_zone_of_sensor_register() in managed devices list thermal: max77620: Add thermal driver for reporting junction temp Documentation/driver-model/devres.txt | 4 + drivers/thermal/Kconfig | 9 ++ drivers/thermal/Makefile | 1 + drivers/thermal/of-thermal.c | 81 ++++++++++++++++++ drivers/thermal/thermal-max77620.c | 151 ++++++++++++++++++++++++++++++++++ include/linux/thermal.h | 18 ++++ 6 files changed, 264 insertions(+) create mode 100644 drivers/thermal/thermal-max77620.c -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html