]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: core: move thermal_zone sysfs to thermal_sysfs.c
authorEduardo Valentin <edubezval@gmail.com>
Tue, 8 Nov 2016 05:09:00 +0000 (21:09 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:06:12 +0000 (10:06 +0800)
commit256ed111e985f2d6bd5b81d4cd1cd39b06d2e9b6
tree15b97cc029949dfcd3c2b3e1ecc6214f6b4213d2
parent0de92298529e249b1ae0e6f169e08c634f135e8b
thermal: core: move thermal_zone sysfs to thermal_sysfs.c

This is a code reorganization, simply to concentrate
the code handling sysfs in a specific file: thermal_sysfs.c.

Right now, moving only the sysfs entries of thermal_zone_device.

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/Makefile
drivers/thermal/thermal_core.c
drivers/thermal/thermal_core.h
drivers/thermal/thermal_sysfs.c [new file with mode: 0644]