thermal: bcm2835: enable hwmon explicitly
commitacd38b4d4eeab35c03e1aa0bf169ab3b8a7cad76
authorMatthias Brugger <mbrugger@suse.com>
Sun, 21 Oct 2018 21:58:48 +0000 (21 23:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 19:02:30 +0000 (12 20:02 +0100)
treec5186637b46e164f21f50ad8417e9fe02871bc91
parent41c8920c515619cd77e15f7ea3a97f52ae83aec6
thermal: bcm2835: enable hwmon explicitly

[ Upstream commit d56c19d07e0bc3ceff366a49b7d7a2440c967b1b ]

By defaul of-based thermal driver do not enable hwmon.
This patch does this explicitly, so that the temperature can be read
through the common hwmon sysfs.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/thermal/broadcom/bcm2835_thermal.c