[PATCHv2 05/16] hwmon: lm75: expose to thermal fw via DT nodes

2013-09-17 Thread Eduardo Valentin
This patch adds to lm75 temperature sensor the possibility to expose itself as thermal zone device, registered on the thermal framework. The thermal zone is built only if a device tree node describing a thermal zone for this sensor is present inside the lm75 DT node. Otherwise, the driver

[PATCHv2 05/16] hwmon: lm75: expose to thermal fw via DT nodes

2013-09-17 Thread Eduardo Valentin
This patch adds to lm75 temperature sensor the possibility to expose itself as thermal zone device, registered on the thermal framework. The thermal zone is built only if a device tree node describing a thermal zone for this sensor is present inside the lm75 DT node. Otherwise, the driver