]> 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)
commitebd71f7439d6455f83d64ef58c4e5da763ac76f3
treebf89d6062feb55edb570397e0b9729c2e78117e5
parent257f6c3b68459da027d2329b8fb1d8b68191686c
Revert "drivers: thermal: parent virtual hwmon with thermal zone"

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

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