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)
commit64a411e8042ed00057658000126fd9f2b4105bdd
treeef3b70dbeb5724792a9a60bcf5c2fd7009b0caab
parente2fa74880987e9d6e3f8dcbff3f3eb260936842f
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