diff options
Diffstat (limited to 'drivers/platform/x86/intel_mid_thermal.c')
-rw-r--r-- | drivers/platform/x86/intel_mid_thermal.c | 30 |
1 files changed, 7 insertions, 23 deletions
diff --git a/drivers/platform/x86/intel_mid_thermal.c b/drivers/platform/x86/intel_mid_thermal.c index 008a76903cbf..f402e2e74a38 100644 --- a/drivers/platform/x86/intel_mid_thermal.c +++ b/drivers/platform/x86/intel_mid_thermal.c | |||
@@ -1,39 +1,23 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * intel_mid_thermal.c - Intel MID platform thermal driver | 3 | * Intel MID platform thermal driver |
3 | * | 4 | * |
4 | * Copyright (C) 2011 Intel Corporation | 5 | * Copyright (C) 2011 Intel Corporation |
5 | * | 6 | * |
6 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; version 2 of the License. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, but | ||
13 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
15 | * General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License along | ||
18 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | ||
20 | * | ||
21 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
22 | * Author: Durgadoss R <durgadoss.r@intel.com> | 7 | * Author: Durgadoss R <durgadoss.r@intel.com> |
23 | */ | 8 | */ |
24 | 9 | ||
25 | #define pr_fmt(fmt) "intel_mid_thermal: " fmt | 10 | #define pr_fmt(fmt) "intel_mid_thermal: " fmt |
26 | 11 | ||
27 | #include <linux/module.h> | 12 | #include <linux/device.h> |
28 | #include <linux/init.h> | ||
29 | #include <linux/err.h> | 13 | #include <linux/err.h> |
14 | #include <linux/mfd/intel_msic.h> | ||
15 | #include <linux/module.h> | ||
30 | #include <linux/param.h> | 16 | #include <linux/param.h> |
31 | #include <linux/device.h> | ||
32 | #include <linux/platform_device.h> | 17 | #include <linux/platform_device.h> |
33 | #include <linux/slab.h> | ||
34 | #include <linux/pm.h> | 18 | #include <linux/pm.h> |
19 | #include <linux/slab.h> | ||
35 | #include <linux/thermal.h> | 20 | #include <linux/thermal.h> |
36 | #include <linux/mfd/intel_msic.h> | ||
37 | 21 | ||
38 | /* Number of thermal sensors */ | 22 | /* Number of thermal sensors */ |
39 | #define MSIC_THERMAL_SENSORS 4 | 23 | #define MSIC_THERMAL_SENSORS 4 |
@@ -567,4 +551,4 @@ module_platform_driver(mid_thermal_driver); | |||
567 | 551 | ||
568 | MODULE_AUTHOR("Durgadoss R <durgadoss.r@intel.com>"); | 552 | MODULE_AUTHOR("Durgadoss R <durgadoss.r@intel.com>"); |
569 | MODULE_DESCRIPTION("Intel Medfield Platform Thermal Driver"); | 553 | MODULE_DESCRIPTION("Intel Medfield Platform Thermal Driver"); |
570 | MODULE_LICENSE("GPL"); | 554 | MODULE_LICENSE("GPL v2"); |