thermal: core: introduce thermal_helpers.c
authorEduardo Valentin <edubezval@gmail.com>
Tue, 8 Nov 2016 05:09:04 +0000 (21:09 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:06:12 +0000 (10:06 +0800)
commitcd221c7b638f83193ffcacf9c2e3f087033fd4cf
treec50ac0fced4f3cf95155b2bab0e184ee986b6614
parent77dc4f9032008f097145e6cff7a7532bb9de4ea0
thermal: core: introduce thermal_helpers.c

Here we have a simple code organization. This patch moves
functions that do not need to handle thermal core internal
data structure to thermal_helpers.c file.

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_helpers.c [new file with mode: 0644]