thermal: core: move cooling device sysfs to thermal_sysfs.c
authorEduardo Valentin <edubezval@gmail.com>
Tue, 8 Nov 2016 05:09:02 +0000 (21:09 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:06:12 +0000 (10:06 +0800)
commit45cf2ec99c160e5c33402521bcff1a585629230a
tree1e19b39ad6eacfa8f0dde7db77f7f30b47e931e4
parent99ea2eff91080740d91df6ce5bfdfba666a4a035
thermal: core: move cooling device sysfs to thermal_sysfs.c

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

This patch moves the cooling device handling functions.

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
drivers/thermal/thermal_core.h
drivers/thermal/thermal_sysfs.c