]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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:46:09 +0000 (19:46 +0100)
commit7bb72b163f989628bffa78bd2424b3c3a21f86c7
tree4260f3cac72a6ef14f7bcaae0e965a0c1ec6aacc
parentd541fb2af57d22220e8823a5307cf4cb06a25f2d
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