]> git.baikalelectronics.ru Git - 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)
commit1759660c070f1ae9eae9f431159dd45298198c07
treebf89d6062feb55edb570397e0b9729c2e78117e5
parent0e19560ccec1918cb88c8c03eee22ec4dc44b525
Revert "drivers: thermal: parent virtual hwmon with thermal zone"

Commit c1e2ca992ec86acab863065c75d01cba4818f2a8 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 c1e2ca992ec86acab863065c75d01cba4818f2a8.

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