thermal: bcm2835: enable hwmon explicitly
authorMatthias Brugger <mbrugger@suse.com>
Sun, 21 Oct 2018 21:58:48 +0000 (23:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 18:47:19 +0000 (19:47 +0100)
commit6a7c0215d28c6ec1482d3aa5bf28d88c2070f426
tree785e22e065713512ef06475ffa4e5b0dd2c8532d
parent295b3e2af87c3f82f28e24f25f33e2411e259d91
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