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)
commita369ee88f7f6059a582087dc8bd9fc42b2731f5b
tree15b97cc029949dfcd3c2b3e1ecc6214f6b4213d2
parent72afe8e54974823454e4c10d4b29e486ea79f6b7
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]