commit | b82715fdd4a5407f56853b24d387d484dd9c3b5b | [log] [tgz] |
---|---|---|
author | Eduardo Valentin <eduardo.valentin@ti.com> | Fri Aug 23 17:07:58 2013 -0400 |
committer | Eduardo Valentin <eduardo.valentin@ti.com> | Tue Sep 03 09:10:10 2013 -0400 |
tree | 1752ce1e1507fa0049a70cb63e62d3eb6fd725e1 | |
parent | 0dd88793aacd7c91b9724be7b618bb3f7c25befe [diff] |
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>