]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
thermal/drivers/tsens: register thermal zones as hwmon sensors
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 29 Jan 2022 18:07:50 +0000 (21:07 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 8 Mar 2022 20:26:08 +0000 (21:26 +0100)
commit8556e19d4939fbdb15aee9391f035453c5b2255a
tree0607c8347c6bd68b7999c6d104c6f1a44bdfa7da
parent62db1e8e9701a947a00f3d8987ca3298827def56
thermal/drivers/tsens: register thermal zones as hwmon sensors

Register thermal zones as hwmon sensors to let userspace read
CPU temperatures using standard hwmon interface.

Acked-by: Amit Kucheria <amitk@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220129180750.1882310-1-dmitry.baryshkov@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/qcom/tsens.c