]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
Revert "drivers: thermal: parent virtual hwmon with thermal zone"
authorZhang Rui <rui.zhang@intel.com>
Mon, 21 Oct 2013 02:28:34 +0000 (10:28 +0800)
committerZhang Rui <rui.zhang@intel.com>
Mon, 21 Oct 2013 03:16:29 +0000 (11:16 +0800)
commit6ddcb7e635ccba9f2eae4087a3039c1b5186f0e6
treebf89d6062feb55edb570397e0b9729c2e78117e5
parentdf8f13476443b70608c64b3e91f3876a06fa739c
Revert "drivers: thermal: parent virtual hwmon with thermal zone"

Commit b82715fdd4a5407f56853b24d387d484dd9c3b5b introduces
a 'device' subdirectory under /sys/class/hwmon/hwmonX/ directory,
for the thermal_zone hwmon devices. And this results in different
handling by libsensors.

The problem is reported and discussed in this thread
http://marc.info/?l=linux-pm&m=138229306109596&w=2

This patch reverts commit b82715fdd4a5407f56853b24d387d484dd9c3b5b.

Reported-by: Arnaud Ebalard <arno@natisbad.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_hwmon.c