]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: rcar-thermal: enable hwmon when thermal_zone_of_sensor_register is used
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 19 Jul 2016 10:01:37 +0000 (10:01 +0000)
committerZhang Rui <rui.zhang@intel.com>
Tue, 27 Sep 2016 06:02:16 +0000 (14:02 +0800)
commit4a92948f4a421518c93bc4718de024396077290e
treeef3b70dbeb5724792a9a60bcf5c2fd7009b0caab
parent24ad85d3c09495d0c080e2277d6a64262c61f5c7
thermal: rcar-thermal: enable hwmon when thermal_zone_of_sensor_register is used

rcar-thermal is supporting both thermal_zone_of_sensor_register() and
thermal_zone_device_register(). But thermal_zone_of_sensor_register()
doesn't enable hwmon as default.
This patch enables it to keep compatibility

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/rcar_thermal.c