diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2016-11-08 06:09:04 +0100 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2016-11-23 03:06:12 +0100 |
commit | cd221c7b638f83193ffcacf9c2e3f087033fd4cf (patch) | |
tree | c50ac0fced4f3cf95155b2bab0e184ee986b6614 /drivers/thermal/Makefile | |
parent | thermal: core: remove a couple of style issues on helpers (diff) | |
download | linux-cd221c7b638f83193ffcacf9c2e3f087033fd4cf.tar.xz linux-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 |