]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: core: move emul_temp creation to tz->device.groups
authorEduardo Valentin <edubezval@gmail.com>
Tue, 8 Nov 2016 05:08:43 +0000 (21:08 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:06:12 +0000 (10:06 +0800)
commitdfa1e46c9e7bc57799d6ecc3b26a46b3704321b9
treeecebfbb6032a1fd91e8afb722c0e4c19be5f6c71
parentf0d4fd7064a9878420dcd7973427d4f3b1b0ba62
thermal: core: move emul_temp creation to tz->device.groups

emul_temp creation is dependent on a compile time
condition. Moving to tz->device.groups.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c