]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef3d3949e1bb7781d6345f03cf94fc57cc78c91a
treec50ac0fced4f3cf95155b2bab0e184ee986b6614
parent80e8b5964385d07b20f2ca50f5c34badaae69319
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]