]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: thermal: parent virtual hwmon with thermal zone
authorEduardo Valentin <eduardo.valentin@ti.com>
Fri, 23 Aug 2013 21:07:58 +0000 (17:07 -0400)
committerEduardo Valentin <eduardo.valentin@ti.com>
Tue, 3 Sep 2013 13:10:10 +0000 (09:10 -0400)
commitc1e2ca992ec86acab863065c75d01cba4818f2a8
tree1752ce1e1507fa0049a70cb63e62d3eb6fd725e1
parentc15e320ce2ee5c9501cf050b0bb53d8925029f17
drivers: thermal: parent virtual hwmon with thermal zone

When  creating virtual hwmon devices based out of thermal
zone devices, the virtual devices won't have parents.

This patch changes the code so that the parent of virtual
hwmon devices is the thermal zone device that they are
based of.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
drivers/thermal/thermal_hwmon.c