diff options
| author | Lina Iyer <ilina@codeaurora.org> | 2018-05-07 13:52:29 -0400 |
|---|---|---|
| committer | Zhang Rui <rui.zhang@intel.com> | 2018-05-30 02:46:17 -0400 |
| commit | 7e3c03817feccdf2b26722993825dc09377908b4 (patch) | |
| tree | 54428f0d04cbe9a2eea1d5677f8f711c7fbfeda9 | |
| parent | e76a4386b2f57e187d617bef947feda9e84d422f (diff) | |
drivers: thermal: Update license to SPDX format
Update licences format for core thermal files.
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
| -rw-r--r-- | drivers/thermal/of-thermal.c | 19 | ||||
| -rw-r--r-- | drivers/thermal/thermal_core.c | 5 | ||||
| -rw-r--r-- | drivers/thermal/thermal_core.h | 17 | ||||
| -rw-r--r-- | drivers/thermal/thermal_helpers.c | 5 | ||||
| -rw-r--r-- | drivers/thermal/thermal_hwmon.c | 17 | ||||
| -rw-r--r-- | drivers/thermal/thermal_hwmon.h | 17 | ||||
| -rw-r--r-- | drivers/thermal/thermal_sysfs.c | 5 | ||||
| -rw-r--r-- | include/linux/thermal.h | 17 |
8 files changed, 8 insertions, 94 deletions
diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/of-thermal.c index e09f0354a4bc..eea2fce82bf7 100644 --- a/drivers/thermal/of-thermal.c +++ b/drivers/thermal/of-thermal.c | |||
| @@ -1,26 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * of-thermal.c - Generic Thermal Management device tree support. | 3 | * of-thermal.c - Generic Thermal Management device tree support. |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2013 Texas Instruments | 5 | * Copyright (C) 2013 Texas Instruments |
| 5 | * Copyright (C) 2013 Eduardo Valentin <eduardo.valentin@ti.com> | 6 | * Copyright (C) 2013 Eduardo Valentin <eduardo.valentin@ti.com> |
| 6 | * | ||
| 7 | * | ||
| 8 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or modify | ||
| 11 | * it under the terms of the GNU General Public License as published by | ||
| 12 | * the Free Software Foundation; version 2 of the License. | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, but | ||
| 15 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 17 | * General Public License for more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public License along | ||
| 20 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
| 21 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | ||
| 22 | * | ||
| 23 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 24 | */ | 7 | */ |
| 25 | #include <linux/thermal.h> | 8 | #include <linux/thermal.h> |
| 26 | #include <linux/slab.h> | 9 | #include <linux/slab.h> |
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 649fd2a04823..6ab982309e6a 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * thermal.c - Generic Thermal Management Sysfs support. | 3 | * thermal.c - Generic Thermal Management Sysfs support. |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2008 Intel Corp | 5 | * Copyright (C) 2008 Intel Corp |
| 5 | * Copyright (C) 2008 Zhang Rui <rui.zhang@intel.com> | 6 | * Copyright (C) 2008 Zhang Rui <rui.zhang@intel.com> |
| 6 | * Copyright (C) 2008 Sujith Thomas <sujith.thomas@intel.com> | 7 | * Copyright (C) 2008 Sujith Thomas <sujith.thomas@intel.com> |
| 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 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/thermal/thermal_core.h b/drivers/thermal/thermal_core.h index eddee27c1d06..0df190ed82a7 100644 --- a/drivers/thermal/thermal_core.h +++ b/drivers/thermal/thermal_core.h | |||
| @@ -1,24 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 1 | /* | 2 | /* |
| 2 | * thermal_core.h | 3 | * thermal_core.h |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2012 Intel Corp | 5 | * Copyright (C) 2012 Intel Corp |
| 5 | * Author: Durgadoss R <durgadoss.r@intel.com> | 6 | * Author: Durgadoss R <durgadoss.r@intel.com> |
| 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 | */ | 7 | */ |
| 23 | 8 | ||
| 24 | #ifndef __THERMAL_CORE_H__ | 9 | #ifndef __THERMAL_CORE_H__ |
diff --git a/drivers/thermal/thermal_helpers.c b/drivers/thermal/thermal_helpers.c index eb03d7e099bb..2ba756af76b7 100644 --- a/drivers/thermal/thermal_helpers.c +++ b/drivers/thermal/thermal_helpers.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * thermal_helpers.c - helper functions to handle thermal devices | 3 | * thermal_helpers.c - helper functions to handle thermal devices |
| 3 | * | 4 | * |
| @@ -7,10 +8,6 @@ | |||
| 7 | * Copyright (C) 2008 Intel Corp | 8 | * Copyright (C) 2008 Intel Corp |
| 8 | * Copyright (C) 2008 Zhang Rui <rui.zhang@intel.com> | 9 | * Copyright (C) 2008 Zhang Rui <rui.zhang@intel.com> |
| 9 | * Copyright (C) 2008 Sujith Thomas <sujith.thomas@intel.com> | 10 | * Copyright (C) 2008 Sujith Thomas <sujith.thomas@intel.com> |
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or modify | ||
| 12 | * it under the terms of the GNU General Public License as published by | ||
| 13 | * the Free Software Foundation; version 2 of the License. | ||
| 14 | */ | 11 | */ |
| 15 | 12 | ||
| 16 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/thermal/thermal_hwmon.c b/drivers/thermal/thermal_hwmon.c index c4a508a124dc..11278836ed12 100644 --- a/drivers/thermal/thermal_hwmon.c +++ b/drivers/thermal/thermal_hwmon.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * thermal_hwmon.c - Generic Thermal Management hwmon support. | 3 | * thermal_hwmon.c - Generic Thermal Management hwmon support. |
| 3 | * | 4 | * |
| @@ -8,22 +9,6 @@ | |||
| 8 | * | 9 | * |
| 9 | * Copyright (C) 2013 Texas Instruments | 10 | * Copyright (C) 2013 Texas Instruments |
| 10 | * Copyright (C) 2013 Eduardo Valentin <eduardo.valentin@ti.com> | 11 | * Copyright (C) 2013 Eduardo Valentin <eduardo.valentin@ti.com> |
| 11 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License as published by | ||
| 15 | * the Free Software Foundation; version 2 of the License. | ||
| 16 | * | ||
| 17 | * This program is distributed in the hope that it will be useful, but | ||
| 18 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 20 | * General Public License for more details. | ||
| 21 | * | ||
| 22 | * You should have received a copy of the GNU General Public License along | ||
| 23 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
| 24 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | ||
| 25 | * | ||
| 26 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 27 | */ | 12 | */ |
| 28 | #include <linux/hwmon.h> | 13 | #include <linux/hwmon.h> |
| 29 | #include <linux/thermal.h> | 14 | #include <linux/thermal.h> |
diff --git a/drivers/thermal/thermal_hwmon.h b/drivers/thermal/thermal_hwmon.h index c798fdb2ae43..019f6f88224e 100644 --- a/drivers/thermal/thermal_hwmon.h +++ b/drivers/thermal/thermal_hwmon.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 1 | /* | 2 | /* |
| 2 | * thermal_hwmon.h - Generic Thermal Management hwmon support. | 3 | * thermal_hwmon.h - Generic Thermal Management hwmon support. |
| 3 | * | 4 | * |
| @@ -8,22 +9,6 @@ | |||
| 8 | * | 9 | * |
| 9 | * Copyright (C) 2013 Texas Instruments | 10 | * Copyright (C) 2013 Texas Instruments |
| 10 | * Copyright (C) 2013 Eduardo Valentin <eduardo.valentin@ti.com> | 11 | * Copyright (C) 2013 Eduardo Valentin <eduardo.valentin@ti.com> |
| 11 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License as published by | ||
| 15 | * the Free Software Foundation; version 2 of the License. | ||
| 16 | * | ||
| 17 | * This program is distributed in the hope that it will be useful, but | ||
| 18 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 20 | * General Public License for more details. | ||
| 21 | * | ||
| 22 | * You should have received a copy of the GNU General Public License along | ||
| 23 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
| 24 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | ||
| 25 | * | ||
| 26 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 27 | */ | 12 | */ |
| 28 | #ifndef __THERMAL_HWMON_H__ | 13 | #ifndef __THERMAL_HWMON_H__ |
| 29 | #define __THERMAL_HWMON_H__ | 14 | #define __THERMAL_HWMON_H__ |
diff --git a/drivers/thermal/thermal_sysfs.c b/drivers/thermal/thermal_sysfs.c index 721726565fef..2241ceae7d7f 100644 --- a/drivers/thermal/thermal_sysfs.c +++ b/drivers/thermal/thermal_sysfs.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * thermal.c - sysfs interface of thermal devices | 3 | * thermal.c - sysfs interface of thermal devices |
| 3 | * | 4 | * |
| @@ -7,10 +8,6 @@ | |||
| 7 | * Copyright (C) 2008 Intel Corp | 8 | * Copyright (C) 2008 Intel Corp |
| 8 | * Copyright (C) 2008 Zhang Rui <rui.zhang@intel.com> | 9 | * Copyright (C) 2008 Zhang Rui <rui.zhang@intel.com> |
| 9 | * Copyright (C) 2008 Sujith Thomas <sujith.thomas@intel.com> | 10 | * Copyright (C) 2008 Sujith Thomas <sujith.thomas@intel.com> |
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or modify | ||
| 12 | * it under the terms of the GNU General Public License as published by | ||
| 13 | * the Free Software Foundation; version 2 of the License. | ||
| 14 | */ | 11 | */ |
| 15 | 12 | ||
