thermal: rcar_gen3_thermal: Register hwmon sysfs interface
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Mon, 11 Feb 2019 19:56:20 +0000 (20:56 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 21 Feb 2019 01:23:40 +0000 (17:23 -0800)
commit6269e9f790e8d442b3e1529bf3b3de452dd4ac92
tree2851351af55d2cf248010f8fa213f9ec96d75fb6
parenta245b62be3f0274114df49a8b5481be6383b314f
thermal: rcar_gen3_thermal: Register hwmon sysfs interface

Register the hwmon sysfs interface on R-Car Gen3 thermal driver to
align it with Gen2 driver. Use devm_add_action() to unregister the
hwmon interface automatically.

Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-renesas-soc@vger.kernel.org
To: linux-pm@vger.kernel.org
From: Marek Vasut <marek.vasut+renesas@gmail.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rcar_gen3_thermal.c