diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2016-11-07 21:09:04 -0800 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2016-11-23 10:06:12 +0800 |
commit | cd221c7b638f83193ffcacf9c2e3f087033fd4cf (patch) | |
tree | c50ac0fced4f3cf95155b2bab0e184ee986b6614 /drivers/thermal/Makefile | |
parent | 77dc4f9032008f097145e6cff7a7532bb9de4ea0 (diff) | |
download | linux-stable-cd221c7b638f83193ffcacf9c2e3f087033fd4cf.tar.gz linux-stable-cd221c7b638f83193ffcacf9c2e3f087033fd4cf.tar.bz2 linux-stable-cd221c7b638f83193ffcacf9c2e3f087033fd4cf.zip |
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>
Diffstat (limited to 'drivers/thermal/Makefile')
-rw-r--r-- | drivers/thermal/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile index 767c3c9aeeea..6a3d7b573036 100644 --- a/drivers/thermal/Makefile +++ b/drivers/thermal/Makefile @@ -3,7 +3,8 @@ # obj-$(CONFIG_THERMAL) += thermal_sys.o -thermal_sys-y += thermal_core.o thermal_sysfs.o +thermal_sys-y += thermal_core.o thermal_sysfs.o \ + thermal_helpers.o # interface to/from other layers providing sensors thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o |