diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-07-16 20:57:51 +0200 |
---|---|---|
committer | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-12-04 14:34:25 +0100 |
commit | 6a027523f30f1cc90037686e6a682d15c6a555d6 (patch) | |
tree | b4b6f3ec8424694b0ca28b87a42a38913fe59896 /drivers/hwmon/adm1026.c | |
parent | hwmon: lm75: expose to thermal fw via DT nodes (diff) | |
download | linux-6a027523f30f1cc90037686e6a682d15c6a555d6.tar.xz linux-6a027523f30f1cc90037686e6a682d15c6a555d6.zip |
hwmon: tmp102: expose to thermal fw via DT nodes
This patch adds to tmp102 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 tmp102 DT node. Otherwise, the driver behavior
will be the same.
Note: This patch has also been reviewed by Jean D. He has
requested to perform a wider inspection of possible
users of thermal and hwmon interaction API. On the other
hand, the change on this patch is acceptable on first
step of overall code change.
Cc: Jean Delvare <khali@linux-fr.org>
Cc: lm-sensors@lm-sensors.org
Cc: linux-kernel@vger.kernel.org
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Diffstat (limited to 'drivers/hwmon/adm1026.c')
0 files changed, 0 insertions, 0 deletions