linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier
@ 2018-09-26 16:51 Andy Shevchenko
  2018-09-26 16:51 ` [PATCH v1 02/28] platform/x86: intel_cht_int33fe: " Andy Shevchenko
                   ` (26 more replies)
  0 siblings, 27 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:51 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_bxtwc_tmu.c | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/drivers/platform/x86/intel_bxtwc_tmu.c b/drivers/platform/x86/intel_bxtwc_tmu.c
index 227943a20212..951c105bafc1 100644
--- a/drivers/platform/x86/intel_bxtwc_tmu.c
+++ b/drivers/platform/x86/intel_bxtwc_tmu.c
@@ -1,21 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
- * intel_bxtwc_tmu.c - Intel BXT Whiskey Cove PMIC TMU driver
+ * Intel BXT Whiskey Cove PMIC TMU driver
  *
  * Copyright (C) 2016 Intel Corporation. All rights reserved.
  *
  * This driver adds TMU (Time Management Unit) support for Intel BXT platform.
  * It enables the alarm wake-up functionality in the TMU unit of Whiskey Cove
  * PMIC.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version
- * 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <linux/module.h>
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 02/28] platform/x86: intel_cht_int33fe: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
@ 2018-09-26 16:51 ` Andy Shevchenko
  2018-09-26 16:51 ` [PATCH v1 03/28] platform/x86: intel_chtdc_ti_pwrbtn: Add " Andy Shevchenko
                   ` (25 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:51 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

While here, correct MODULE_LICENSE() string to be aligned with license text.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_cht_int33fe.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/platform/x86/intel_cht_int33fe.c b/drivers/platform/x86/intel_cht_int33fe.c
index 39d4100c60a2..6531a0c3cc0d 100644
--- a/drivers/platform/x86/intel_cht_int33fe.c
+++ b/drivers/platform/x86/intel_cht_int33fe.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Intel Cherry Trail ACPI INT33FE pseudo device driver
  *
  * Copyright (C) 2017 Hans de Goede <hdegoede@redhat.com>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  * Some Intel Cherry Trail based device which ship with Windows 10, have
  * this weird INT33FE ACPI device with a CRS table with 4 I2cSerialBusV2
  * resources, for 4 different chips attached to various i2c busses:
@@ -266,4 +263,4 @@ module_i2c_driver(cht_int33fe_driver);
 
 MODULE_DESCRIPTION("Intel Cherry Trail ACPI INT33FE pseudo device driver");
 MODULE_AUTHOR("Hans de Goede <hdegoede@redhat.com>");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 03/28] platform/x86: intel_chtdc_ti_pwrbtn: Add SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
  2018-09-26 16:51 ` [PATCH v1 02/28] platform/x86: intel_cht_int33fe: " Andy Shevchenko
@ 2018-09-26 16:51 ` Andy Shevchenko
  2018-09-26 16:51 ` [PATCH v1 04/28] platform/x86: intel-hid: Convert to use " Andy Shevchenko
                   ` (24 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:51 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Driver misses the licence text or identifier, thus, append it here.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/intel_chtdc_ti_pwrbtn.c b/drivers/platform/x86/intel_chtdc_ti_pwrbtn.c
index 38b8e7cfe88c..0df2e82dd249 100644
--- a/drivers/platform/x86/intel_chtdc_ti_pwrbtn.c
+++ b/drivers/platform/x86/intel_chtdc_ti_pwrbtn.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Power-button driver for Dollar Cove TI PMIC
  * Copyright (C) 2014 Intel Corp
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 04/28] platform/x86: intel-hid: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
  2018-09-26 16:51 ` [PATCH v1 02/28] platform/x86: intel_cht_int33fe: " Andy Shevchenko
  2018-09-26 16:51 ` [PATCH v1 03/28] platform/x86: intel_chtdc_ti_pwrbtn: Add " Andy Shevchenko
@ 2018-09-26 16:51 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 05/28] platform/x86: intel_int0002_vgpio: " Andy Shevchenko
                   ` (23 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:51 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel-hid.c | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/drivers/platform/x86/intel-hid.c b/drivers/platform/x86/intel-hid.c
index 6cf9b7fa5bf0..e28bcf61b126 100644
--- a/drivers/platform/x86/intel-hid.c
+++ b/drivers/platform/x86/intel-hid.c
@@ -1,19 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  *  Intel HID event & 5 button array driver
  *
  *  Copyright (C) 2015 Alex Hung <alex.hung@canonical.com>
  *  Copyright (C) 2015 Andrew Lutomirski <luto@kernel.org>
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
  */
 
 #include <linux/acpi.h>
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 05/28] platform/x86: intel_int0002_vgpio: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (2 preceding siblings ...)
  2018-09-26 16:51 ` [PATCH v1 04/28] platform/x86: intel-hid: Convert to use " Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 06/28] platform/x86: intel-ips: " Andy Shevchenko
                   ` (22 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

While here, correct MODULE_LICENSE() string to be aligned with license text.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_int0002_vgpio.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/platform/x86/intel_int0002_vgpio.c b/drivers/platform/x86/intel_int0002_vgpio.c
index 33c3489f5bc1..c958a628c375 100644
--- a/drivers/platform/x86/intel_int0002_vgpio.c
+++ b/drivers/platform/x86/intel_int0002_vgpio.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Intel INT0002 "Virtual GPIO" driver
  *
@@ -9,10 +10,6 @@
  *
  * Author: Dyut Kumar Sil <dyut.k.sil@intel.com>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  * Some peripherals on Bay Trail and Cherry Trail platforms signal a Power
  * Management Event (PME) to the Power Management Controller (PMC) to wakeup
  * the system. When this happens software needs to clear the PME bus 0 status
@@ -228,4 +225,4 @@ module_platform_driver(int0002_driver);
 
 MODULE_AUTHOR("Hans de Goede <hdegoede@redhat.com>");
 MODULE_DESCRIPTION("Intel INT0002 Virtual GPIO driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 06/28] platform/x86: intel-ips: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (3 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 05/28] platform/x86: intel_int0002_vgpio: " Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 07/28] platform/x86: intel_menlow: Sort headers alphabetically Andy Shevchenko
                   ` (21 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

While here, correct MODULE_LICENSE() string to be aligned with license text.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_ips.c | 15 ++-------------
 drivers/platform/x86/intel_ips.h | 13 +------------
 2 files changed, 3 insertions(+), 25 deletions(-)

diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c
index c5ece7ef08c6..225638a1b09e 100644
--- a/drivers/platform/x86/intel_ips.c
+++ b/drivers/platform/x86/intel_ips.c
@@ -1,18 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2009-2010 Intel Corporation
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in
- * the file called "COPYING".
- *
  * Authors:
  *	Jesse Barnes <jbarnes@virtuousgeek.org>
  */
@@ -1697,6 +1686,6 @@ static struct pci_driver ips_pci_driver = {
 
 module_pci_driver(ips_pci_driver);
 
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Jesse Barnes <jbarnes@virtuousgeek.org>");
 MODULE_DESCRIPTION("Intelligent Power Sharing Driver");
diff --git a/drivers/platform/x86/intel_ips.h b/drivers/platform/x86/intel_ips.h
index 60f4e3ddbe9f..512ad234ad0d 100644
--- a/drivers/platform/x86/intel_ips.h
+++ b/drivers/platform/x86/intel_ips.h
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2010 Intel Corporation
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in
- * the file called "COPYING".
  */
 
 void ips_link_to_i915_driver(void);
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 07/28] platform/x86: intel_menlow: Sort headers alphabetically
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (4 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 06/28] platform/x86: intel-ips: " Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 08/28] platform/x86: intel_menlow: Convert to use SPDX identifier Andy Shevchenko
                   ` (20 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Sort headers alphabetically for better maintenance.

No functional change.

While here, remove unneeded linux/init.h inclusion.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_menlow.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/platform/x86/intel_menlow.c b/drivers/platform/x86/intel_menlow.c
index ef9b0af8cdd3..76854f0bf70b 100644
--- a/drivers/platform/x86/intel_menlow.c
+++ b/drivers/platform/x86/intel_menlow.c
@@ -29,15 +29,14 @@
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
+#include <linux/acpi.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/init.h>
-#include <linux/slab.h>
-#include <linux/types.h>
 #include <linux/pci.h>
 #include <linux/pm.h>
+#include <linux/slab.h>
 #include <linux/thermal.h>
-#include <linux/acpi.h>
+#include <linux/types.h>
 
 MODULE_AUTHOR("Thomas Sujith");
 MODULE_AUTHOR("Zhang Rui");
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 08/28] platform/x86: intel_menlow: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (5 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 07/28] platform/x86: intel_menlow: Sort headers alphabetically Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 09/28] platform/x86: intel_mid_powerbtn: Remove unnecessary init.h inclusion Andy Shevchenko
                   ` (19 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

While here, correct MODULE_LICENSE() string to be aligned with license text.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_menlow.c | 21 +++------------------
 1 file changed, 3 insertions(+), 18 deletions(-)

diff --git a/drivers/platform/x86/intel_menlow.c b/drivers/platform/x86/intel_menlow.c
index 76854f0bf70b..77eb8709c931 100644
--- a/drivers/platform/x86/intel_menlow.c
+++ b/drivers/platform/x86/intel_menlow.c
@@ -1,25 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
- *  intel_menlow.c - Intel menlow Driver for thermal management extension
+ *  Intel menlow Driver for thermal management extension
  *
  *  Copyright (C) 2008 Intel Corp
  *  Copyright (C) 2008 Sujith Thomas <sujith.thomas@intel.com>
  *  Copyright (C) 2008 Zhang Rui <rui.zhang@intel.com>
- *  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; version 2 of the License.
- *
- *  This program is distributed in the hope that it will be useful, but
- *  WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- *  General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License along
- *  with this program; if not, write to the Free Software Foundation, Inc.,
- *  59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
- *
- * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  *
  *  This driver creates the sys I/F for programming the sensors.
  *  It also implements the driver for intel menlow memory controller (hardware
@@ -41,7 +26,7 @@
 MODULE_AUTHOR("Thomas Sujith");
 MODULE_AUTHOR("Zhang Rui");
 MODULE_DESCRIPTION("Intel Menlow platform specific driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
 
 /*
  * Memory controller device control
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 09/28] platform/x86: intel_mid_powerbtn: Remove unnecessary init.h inclusion
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (6 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 08/28] platform/x86: intel_menlow: Convert to use SPDX identifier Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 10/28] platform/x86: intel_mid_powerbtn: Convert to use SPDX identifier Andy Shevchenko
                   ` (18 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

No need to include linux/init.h when linux/module.h is.

No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_mid_powerbtn.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/platform/x86/intel_mid_powerbtn.c b/drivers/platform/x86/intel_mid_powerbtn.c
index c93299002169..b8d659233c6a 100644
--- a/drivers/platform/x86/intel_mid_powerbtn.c
+++ b/drivers/platform/x86/intel_mid_powerbtn.c
@@ -16,7 +16,6 @@
  * General Public License for more details.
  */
 
-#include <linux/init.h>
 #include <linux/input.h>
 #include <linux/interrupt.h>
 #include <linux/mfd/intel_msic.h>
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 10/28] platform/x86: intel_mid_powerbtn: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (7 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 09/28] platform/x86: intel_mid_powerbtn: Remove unnecessary init.h inclusion Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 11/28] platform/x86: intel_mid_thermal: Sort headers alphabetically Andy Shevchenko
                   ` (17 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_mid_powerbtn.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/drivers/platform/x86/intel_mid_powerbtn.c b/drivers/platform/x86/intel_mid_powerbtn.c
index b8d659233c6a..a8c0fbb7f799 100644
--- a/drivers/platform/x86/intel_mid_powerbtn.c
+++ b/drivers/platform/x86/intel_mid_powerbtn.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Power button driver for Intel MID platforms.
  *
@@ -5,15 +6,6 @@
  *
  * Author: Hong Liu <hong.liu@intel.com>
  * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
  */
 
 #include <linux/input.h>
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 11/28] platform/x86: intel_mid_thermal: Sort headers alphabetically
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (8 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 10/28] platform/x86: intel_mid_powerbtn: Convert to use SPDX identifier Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 12/28] platform/x86: intel_mid_thermal: Convert to use SPDX identifier Andy Shevchenko
                   ` (16 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Sort headers alphabetically for better maintenance.

No functional change.

While here, remove unneeded linux/init.h inclusion.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_mid_thermal.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/drivers/platform/x86/intel_mid_thermal.c b/drivers/platform/x86/intel_mid_thermal.c
index 008a76903cbf..3fa8207dd34e 100644
--- a/drivers/platform/x86/intel_mid_thermal.c
+++ b/drivers/platform/x86/intel_mid_thermal.c
@@ -24,16 +24,15 @@
 
 #define pr_fmt(fmt) "intel_mid_thermal: " fmt
 
-#include <linux/module.h>
-#include <linux/init.h>
+#include <linux/device.h>
 #include <linux/err.h>
+#include <linux/mfd/intel_msic.h>
+#include <linux/module.h>
 #include <linux/param.h>
-#include <linux/device.h>
 #include <linux/platform_device.h>
-#include <linux/slab.h>
 #include <linux/pm.h>
+#include <linux/slab.h>
 #include <linux/thermal.h>
-#include <linux/mfd/intel_msic.h>
 
 /* Number of thermal sensors */
 #define MSIC_THERMAL_SENSORS	4
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 12/28] platform/x86: intel_mid_thermal: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (9 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 11/28] platform/x86: intel_mid_thermal: Sort headers alphabetically Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 13/28] platform/x86: intel_oaktrail: Sort headers alphabetically Andy Shevchenko
                   ` (15 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

While here, correct MODULE_LICENSE() string to be aligned with license text.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_mid_thermal.c | 21 +++------------------
 1 file changed, 3 insertions(+), 18 deletions(-)

diff --git a/drivers/platform/x86/intel_mid_thermal.c b/drivers/platform/x86/intel_mid_thermal.c
index 3fa8207dd34e..f402e2e74a38 100644
--- a/drivers/platform/x86/intel_mid_thermal.c
+++ b/drivers/platform/x86/intel_mid_thermal.c
@@ -1,24 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
- * intel_mid_thermal.c - Intel MID platform thermal driver
+ * Intel MID platform thermal driver
  *
  * Copyright (C) 2011 Intel Corporation
  *
- * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.        See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
- *
- * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Author: Durgadoss R <durgadoss.r@intel.com>
  */
 
@@ -566,4 +551,4 @@ module_platform_driver(mid_thermal_driver);
 
 MODULE_AUTHOR("Durgadoss R <durgadoss.r@intel.com>");
 MODULE_DESCRIPTION("Intel Medfield Platform Thermal Driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 13/28] platform/x86: intel_oaktrail: Sort headers alphabetically
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (10 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 12/28] platform/x86: intel_mid_thermal: Convert to use SPDX identifier Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 14/28] platform/x86: intel_oaktrail: Convert to use SPDX identifier Andy Shevchenko
                   ` (14 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Sort headers alphabetically for better maintenance.

No functional change.

While here, remove unneeded linux/init.h inclusion.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_oaktrail.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/platform/x86/intel_oaktrail.c b/drivers/platform/x86/intel_oaktrail.c
index 5747f63c8d9f..1d98fd9ca1ea 100644
--- a/drivers/platform/x86/intel_oaktrail.c
+++ b/drivers/platform/x86/intel_oaktrail.c
@@ -38,18 +38,18 @@
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-#include <linux/module.h>
-#include <linux/kernel.h>
-#include <linux/init.h>
 #include <linux/acpi.h>
-#include <linux/fb.h>
-#include <linux/mutex.h>
+#include <linux/backlight.h>
+#include <linux/dmi.h>
 #include <linux/err.h>
+#include <linux/fb.h>
 #include <linux/i2c.h>
-#include <linux/backlight.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/mutex.h>
 #include <linux/platform_device.h>
-#include <linux/dmi.h>
 #include <linux/rfkill.h>
+
 #include <acpi/video.h>
 
 #define DRIVER_NAME	"intel_oaktrail"
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 14/28] platform/x86: intel_oaktrail: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (11 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 13/28] platform/x86: intel_oaktrail: Sort headers alphabetically Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 15/28] platform/x86: intel_pmc: Sort headers alphabetically Andy Shevchenko
                   ` (13 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_oaktrail.c | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

diff --git a/drivers/platform/x86/intel_oaktrail.c b/drivers/platform/x86/intel_oaktrail.c
index 1d98fd9ca1ea..3c0438ba385e 100644
--- a/drivers/platform/x86/intel_oaktrail.c
+++ b/drivers/platform/x86/intel_oaktrail.c
@@ -1,5 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
- * intel_oaktrail.c - Intel OakTrail Platform support.
+ * Intel OakTrail Platform support
  *
  * Copyright (C) 2010-2011 Intel Corporation
  * Author: Yin Kangkai (kangkai.yin@intel.com)
@@ -8,21 +9,6 @@
  * <cezary.jackiewicz (at) gmail.com>, based on MSI driver
  * Copyright (C) 2006 Lennart Poettering <mzxreary (at) 0pointer (dot) de>
  *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful, but
- *  WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- *  General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- *  02110-1301, USA.
- *
  * This driver does below things:
  * 1. registers itself in the Linux backlight control in
  *    /sys/class/backlight/intel_oaktrail/
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 15/28] platform/x86: intel_pmc: Sort headers alphabetically
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (12 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 14/28] platform/x86: intel_oaktrail: Convert to use SPDX identifier Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 16/28] platform/x86: intel_pmc: Convert to use SPDX identifier Andy Shevchenko
                   ` (12 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Sort headers alphabetically for better maintenance.

No functional change.

While here, remove unneeded linux/init.h inclusion.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_pmc_ipc.c | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/drivers/platform/x86/intel_pmc_ipc.c b/drivers/platform/x86/intel_pmc_ipc.c
index e7edc8c63936..8b88e1743e41 100644
--- a/drivers/platform/x86/intel_pmc_ipc.c
+++ b/drivers/platform/x86/intel_pmc_ipc.c
@@ -15,25 +15,24 @@
  * core through IPC mechanism which in turn messaging between IA core ad PMC.
  */
 
-#include <linux/module.h>
+#include <linux/acpi.h>
+#include <linux/atomic.h>
+#include <linux/bitops.h>
 #include <linux/delay.h>
-#include <linux/errno.h>
-#include <linux/init.h>
 #include <linux/device.h>
-#include <linux/pm.h>
+#include <linux/errno.h>
+#include <linux/interrupt.h>
+#include <linux/io-64-nonatomic-lo-hi.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/notifier.h>
 #include <linux/pci.h>
 #include <linux/platform_device.h>
-#include <linux/interrupt.h>
+#include <linux/pm.h>
 #include <linux/pm_qos.h>
-#include <linux/kernel.h>
-#include <linux/bitops.h>
 #include <linux/sched.h>
-#include <linux/atomic.h>
-#include <linux/notifier.h>
-#include <linux/suspend.h>
-#include <linux/acpi.h>
-#include <linux/io-64-nonatomic-lo-hi.h>
 #include <linux/spinlock.h>
+#include <linux/suspend.h>
 
 #include <asm/intel_pmc_ipc.h>
 
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 16/28] platform/x86: intel_pmc: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (13 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 15/28] platform/x86: intel_pmc: Sort headers alphabetically Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 17/28] platform/x86: intel_punit_ipc: Sort headers alphabetically Andy Shevchenko
                   ` (11 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

While here, correct MODULE_LICENSE() string to be aligned with license text.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_pmc_core.c | 11 +----------
 drivers/platform/x86/intel_pmc_core.h | 11 +----------
 drivers/platform/x86/intel_pmc_ipc.c  | 12 ++++--------
 3 files changed, 6 insertions(+), 28 deletions(-)

diff --git a/drivers/platform/x86/intel_pmc_core.c b/drivers/platform/x86/intel_pmc_core.c
index 2d272a3e0176..6b31d410cb09 100644
--- a/drivers/platform/x86/intel_pmc_core.c
+++ b/drivers/platform/x86/intel_pmc_core.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Intel Core SoC Power Management Controller Driver
  *
@@ -6,16 +7,6 @@
  *
  * Authors: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
  *          Vishwanath Somayaji <vishwanath.somayaji@intel.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/drivers/platform/x86/intel_pmc_core.h b/drivers/platform/x86/intel_pmc_core.h
index 93a7e99e1f8b..be045348ad86 100644
--- a/drivers/platform/x86/intel_pmc_core.h
+++ b/drivers/platform/x86/intel_pmc_core.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Intel Core SoC Power Management Controller Header File
  *
@@ -6,16 +7,6 @@
  *
  * Authors: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
  *          Vishwanath Somayaji <vishwanath.somayaji@intel.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
  */
 
 #ifndef PMC_CORE_H
diff --git a/drivers/platform/x86/intel_pmc_ipc.c b/drivers/platform/x86/intel_pmc_ipc.c
index 8b88e1743e41..7964ba22ef8d 100644
--- a/drivers/platform/x86/intel_pmc_ipc.c
+++ b/drivers/platform/x86/intel_pmc_ipc.c
@@ -1,16 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
- * intel_pmc_ipc.c: Driver for the Intel PMC IPC mechanism
+ * Driver for the Intel PMC IPC mechanism
  *
  * (C) Copyright 2014-2015 Intel Corporation
  *
- * This driver is based on Intel SCU IPC driver(intel_scu_opc.c) by
+ * This driver is based on Intel SCU IPC driver(intel_scu_ipc.c) by
  *     Sreedhara DS <sreedhara.ds@intel.com>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; version 2
- * of the License.
- *
  * PMC running in ARC processor communicates with other entity running in IA
  * core through IPC mechanism which in turn messaging between IA core ad PMC.
  */
@@ -1028,7 +1024,7 @@ static void __exit intel_pmc_ipc_exit(void)
 
 MODULE_AUTHOR("Zha Qipeng <qipeng.zha@intel.com>");
 MODULE_DESCRIPTION("Intel PMC IPC driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
 
 /* Some modules are dependent on this, so init earlier */
 fs_initcall(intel_pmc_ipc_init);
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 17/28] platform/x86: intel_punit_ipc: Sort headers alphabetically
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (14 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 16/28] platform/x86: intel_pmc: Convert to use SPDX identifier Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 18/28] platform/x86: intel_punit_ipc: Convert to use SPDX identifier Andy Shevchenko
                   ` (10 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Sort headers alphabetically for better maintenance.

No functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_punit_ipc.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/platform/x86/intel_punit_ipc.c b/drivers/platform/x86/intel_punit_ipc.c
index 2efeab650345..8eaa60c9ad69 100644
--- a/drivers/platform/x86/intel_punit_ipc.c
+++ b/drivers/platform/x86/intel_punit_ipc.c
@@ -11,15 +11,16 @@
  * which provide mailbox interface for power management usage.
  */
 
-#include <linux/module.h>
-#include <linux/mod_devicetable.h>
 #include <linux/acpi.h>
-#include <linux/delay.h>
 #include <linux/bitops.h>
+#include <linux/delay.h>
 #include <linux/device.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
+#include <linux/mod_devicetable.h>
+#include <linux/module.h>
 #include <linux/platform_device.h>
+
 #include <asm/intel_punit_ipc.h>
 
 /* IPC Mailbox registers */
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 18/28] platform/x86: intel_punit_ipc: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (15 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 17/28] platform/x86: intel_punit_ipc: Sort headers alphabetically Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 19/28] platform/x86: intel-rst: Sort headers alphabetically Andy Shevchenko
                   ` (9 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_punit_ipc.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/platform/x86/intel_punit_ipc.c b/drivers/platform/x86/intel_punit_ipc.c
index 8eaa60c9ad69..79671927f4ef 100644
--- a/drivers/platform/x86/intel_punit_ipc.c
+++ b/drivers/platform/x86/intel_punit_ipc.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Driver for the Intel P-Unit Mailbox IPC mechanism
  *
  * (C) Copyright 2015 Intel Corporation
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  * The heart of the P-Unit is the Foxton microcontroller and its firmware,
  * which provide mailbox interface for power management usage.
  */
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 19/28] platform/x86: intel-rst: Sort headers alphabetically
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (16 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 18/28] platform/x86: intel_punit_ipc: Convert to use SPDX identifier Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 20/28] platform/x86: intel-rst: Convert to use SPDX identifier Andy Shevchenko
                   ` (8 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Sort headers alphabetically for better maintenance.

No functional change.

While here, remove unneeded linux/init.h inclusion.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel-rst.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/platform/x86/intel-rst.c b/drivers/platform/x86/intel-rst.c
index 7344d841f4d9..56abf5cbb824 100644
--- a/drivers/platform/x86/intel-rst.c
+++ b/drivers/platform/x86/intel-rst.c
@@ -17,10 +17,9 @@
  */
 
 
-#include <linux/init.h>
+#include <linux/acpi.h>
 #include <linux/module.h>
 #include <linux/slab.h>
-#include <linux/acpi.h>
 
 MODULE_LICENSE("GPL");
 
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 20/28] platform/x86: intel-rst: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (17 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 19/28] platform/x86: intel-rst: Sort headers alphabetically Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 21/28] platform/x86: intel_scu_ipc: Sort headers alphabetically Andy Shevchenko
                   ` (7 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

While here, throw away some extra blank lines.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel-rst.c | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)

diff --git a/drivers/platform/x86/intel-rst.c b/drivers/platform/x86/intel-rst.c
index 56abf5cbb824..3b81cb896fed 100644
--- a/drivers/platform/x86/intel-rst.c
+++ b/drivers/platform/x86/intel-rst.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  *  Copyright 2013 Matthew Garrett <mjg59@srcf.ucam.org>
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License along
- *  with this program; if not, write to the Free Software Foundation, Inc.,
- *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-
 #include <linux/acpi.h>
 #include <linux/module.h>
 #include <linux/slab.h>
@@ -52,12 +38,10 @@ static ssize_t irst_store_wakeup_events(struct device *dev,
 	acpi = to_acpi_device(dev);
 
 	error = kstrtoul(buf, 0, &value);
-
 	if (error)
 		return error;
 
 	status = acpi_execute_simple_method(acpi->handle, "SFFS", value);
-
 	if (ACPI_FAILURE(status))
 		return -EINVAL;
 
@@ -98,12 +82,10 @@ static ssize_t irst_store_wakeup_time(struct device *dev,
 	acpi = to_acpi_device(dev);
 
 	error = kstrtoul(buf, 0, &value);
-
 	if (error)
 		return error;
 
 	status = acpi_execute_simple_method(acpi->handle, "SFTV", value);
-
 	if (ACPI_FAILURE(status))
 		return -EINVAL;
 
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 21/28] platform/x86: intel_scu_ipc: Sort headers alphabetically
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (18 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 20/28] platform/x86: intel-rst: Convert to use SPDX identifier Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 22/28] platform/x86: intel_scu_ipc: Convert to use SPDX identifier Andy Shevchenko
                   ` (6 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Sort headers alphabetically for better maintenance.

No functional change.

While here, remove unneeded linux/init.h inclusion.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_scu_ipc.c     |  8 +++++---
 drivers/platform/x86/intel_scu_ipcutil.c | 12 ++++++------
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/drivers/platform/x86/intel_scu_ipc.c b/drivers/platform/x86/intel_scu_ipc.c
index 75c8fef7a482..3f4b24a33430 100644
--- a/drivers/platform/x86/intel_scu_ipc.c
+++ b/drivers/platform/x86/intel_scu_ipc.c
@@ -16,14 +16,16 @@
  * IPC-1 Driver provides an API for power control unit registers (e.g. MSIC)
  * along with other APIs.
  */
+
 #include <linux/delay.h>
+#include <linux/device.h>
 #include <linux/errno.h>
 #include <linux/init.h>
-#include <linux/device.h>
-#include <linux/pm.h>
-#include <linux/pci.h>
 #include <linux/interrupt.h>
+#include <linux/pci.h>
+#include <linux/pm.h>
 #include <linux/sfi.h>
+
 #include <asm/intel-mid.h>
 #include <asm/intel_scu_ipc.h>
 
diff --git a/drivers/platform/x86/intel_scu_ipcutil.c b/drivers/platform/x86/intel_scu_ipcutil.c
index aa454241489c..2a65cabe87f4 100644
--- a/drivers/platform/x86/intel_scu_ipcutil.c
+++ b/drivers/platform/x86/intel_scu_ipcutil.c
@@ -12,16 +12,16 @@
  * This driver provides ioctl interfaces to call intel scu ipc driver api
  */
 
-#include <linux/module.h>
-#include <linux/kernel.h>
 #include <linux/errno.h>
-#include <linux/types.h>
-#include <linux/fs.h>
 #include <linux/fcntl.h>
+#include <linux/fs.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/sched.h>
-#include <linux/uaccess.h>
 #include <linux/slab.h>
-#include <linux/init.h>
+#include <linux/types.h>
+#include <linux/uaccess.h>
+
 #include <asm/intel_scu_ipc.h>
 
 static int major;
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 22/28] platform/x86: intel_scu_ipc: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (19 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 21/28] platform/x86: intel_scu_ipc: Sort headers alphabetically Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 23/28] platform/x86: intel-smartconnect: Sort headers alphabetically Andy Shevchenko
                   ` (5 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_scu_ipc.c     |  8 ++------
 drivers/platform/x86/intel_scu_ipcutil.c | 12 ++++--------
 2 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/drivers/platform/x86/intel_scu_ipc.c b/drivers/platform/x86/intel_scu_ipc.c
index 3f4b24a33430..cdab916fbf92 100644
--- a/drivers/platform/x86/intel_scu_ipc.c
+++ b/drivers/platform/x86/intel_scu_ipc.c
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
- * intel_scu_ipc.c: Driver for the Intel SCU IPC mechanism
+ * Driver for the Intel SCU IPC mechanism
  *
  * (C) Copyright 2008-2010,2015 Intel Corporation
  * Author: Sreedhara DS (sreedhara.ds@intel.com)
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; version 2
- * of the License.
- *
  * SCU running in ARC processor communicates with other entity running in IA
  * core through IPC mechanism which in turn messaging between IA core ad SCU.
  * SCU has two IPC mechanism IPC-1 and IPC-2. IPC-1 is used between IA32 and
diff --git a/drivers/platform/x86/intel_scu_ipcutil.c b/drivers/platform/x86/intel_scu_ipcutil.c
index 2a65cabe87f4..8afe6fa06d7b 100644
--- a/drivers/platform/x86/intel_scu_ipcutil.c
+++ b/drivers/platform/x86/intel_scu_ipcutil.c
@@ -1,15 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
- * intel_scu_ipc.c: Driver for the Intel SCU IPC mechanism
+ * Driver for the Intel SCU IPC mechanism
  *
  * (C) Copyright 2008-2010 Intel Corporation
  * Author: Sreedhara DS (sreedhara.ds@intel.com)
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; version 2
- * of the License.
- *
- * This driver provides ioctl interfaces to call intel scu ipc driver api
+ * This driver provides IOCTL interfaces to call Intel SCU IPC driver API.
  */
 
 #include <linux/errno.h>
@@ -26,7 +22,7 @@
 
 static int major;
 
-/* ioctl commnds */
+/* IOCTL commands */
 #define	INTE_SCU_IPC_REGISTER_READ	0
 #define INTE_SCU_IPC_REGISTER_WRITE	1
 #define INTE_SCU_IPC_REGISTER_UPDATE	2
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 23/28] platform/x86: intel-smartconnect: Sort headers alphabetically
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (20 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 22/28] platform/x86: intel_scu_ipc: Convert to use SPDX identifier Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 24/28] platform/x86: intel-smartconnect: Convert to use SPDX identifier Andy Shevchenko
                   ` (4 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Sort headers alphabetically for better maintenance.

No functional change.

While here, remove unneeded linux/init.h inclusion and
move MODULE_DEVICE_TABLE() close to the table.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel-smartconnect.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/platform/x86/intel-smartconnect.c b/drivers/platform/x86/intel-smartconnect.c
index bbe4c06c769f..274ac488afcb 100644
--- a/drivers/platform/x86/intel-smartconnect.c
+++ b/drivers/platform/x86/intel-smartconnect.c
@@ -17,9 +17,8 @@
  */
 
 
-#include <linux/init.h>
-#include <linux/module.h>
 #include <linux/acpi.h>
+#include <linux/module.h>
 
 MODULE_LICENSE("GPL");
 
@@ -44,6 +43,7 @@ static const struct acpi_device_id smartconnect_ids[] = {
 	{"INT33A0", 0},
 	{"", 0}
 };
+MODULE_DEVICE_TABLE(acpi, smartconnect_ids);
 
 static struct acpi_driver smartconnect_driver = {
 	.owner = THIS_MODULE,
@@ -56,5 +56,3 @@ static struct acpi_driver smartconnect_driver = {
 };
 
 module_acpi_driver(smartconnect_driver);
-
-MODULE_DEVICE_TABLE(acpi, smartconnect_ids);
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 24/28] platform/x86: intel-smartconnect: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (21 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 23/28] platform/x86: intel-smartconnect: Sort headers alphabetically Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 25/28] platform/x86: intel_telemetry: " Andy Shevchenko
                   ` (3 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

While here, throw away some extra blank lines.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel-smartconnect.c | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/drivers/platform/x86/intel-smartconnect.c b/drivers/platform/x86/intel-smartconnect.c
index 274ac488afcb..64c2dc93472f 100644
--- a/drivers/platform/x86/intel-smartconnect.c
+++ b/drivers/platform/x86/intel-smartconnect.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  *  Copyright 2013 Matthew Garrett <mjg59@srcf.ucam.org>
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License along
- *  with this program; if not, write to the Free Software Foundation, Inc.,
- *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-
 #include <linux/acpi.h>
 #include <linux/module.h>
 
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 25/28] platform/x86: intel_telemetry: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (22 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 24/28] platform/x86: intel-smartconnect: Convert to use SPDX identifier Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 26/28] platform/x86: intel_turbo_max_3: Sort headers alphabetically Andy Shevchenko
                   ` (2 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

While here, correct MODULE_LICENSE() string to be aligned with license text.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_telemetry_core.c    | 12 ++----------
 drivers/platform/x86/intel_telemetry_debugfs.c | 12 ++----------
 drivers/platform/x86/intel_telemetry_pltdrv.c  | 12 ++----------
 3 files changed, 6 insertions(+), 30 deletions(-)

diff --git a/drivers/platform/x86/intel_telemetry_core.c b/drivers/platform/x86/intel_telemetry_core.c
index f378621b5fe9..d4040bb222b4 100644
--- a/drivers/platform/x86/intel_telemetry_core.c
+++ b/drivers/platform/x86/intel_telemetry_core.c
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Intel SoC Core Telemetry Driver
  * Copyright (C) 2015, Intel Corporation.
  * All Rights Reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
  * Telemetry Framework provides platform related PM and performance statistics.
  * This file provides the core telemetry API implementation.
  */
@@ -460,4 +452,4 @@ module_exit(telemetry_module_exit);
 
 MODULE_AUTHOR("Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com>");
 MODULE_DESCRIPTION("Intel SoC Telemetry Interface");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
diff --git a/drivers/platform/x86/intel_telemetry_debugfs.c b/drivers/platform/x86/intel_telemetry_debugfs.c
index ffd0474b0531..badd1682f9c1 100644
--- a/drivers/platform/x86/intel_telemetry_debugfs.c
+++ b/drivers/platform/x86/intel_telemetry_debugfs.c
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Intel SOC Telemetry debugfs Driver: Currently supports APL
  * Copyright (c) 2015, Intel Corporation.
  * All Rights Reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
  * This file provides the debugfs interfaces for telemetry.
  * /sys/kernel/debug/telemetry/pss_info: Shows Primary Control Sub-Sys Counters
  * /sys/kernel/debug/telemetry/ioss_info: Shows IO Sub-System Counters
@@ -1037,4 +1029,4 @@ module_exit(telemetry_debugfs_exit);
 MODULE_AUTHOR("Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com>");
 MODULE_DESCRIPTION("Intel SoC Telemetry debugfs Interface");
 MODULE_VERSION(DRIVER_VERSION);
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
diff --git a/drivers/platform/x86/intel_telemetry_pltdrv.c b/drivers/platform/x86/intel_telemetry_pltdrv.c
index 2f889d6c270e..62531d2524d8 100644
--- a/drivers/platform/x86/intel_telemetry_pltdrv.c
+++ b/drivers/platform/x86/intel_telemetry_pltdrv.c
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Intel SOC Telemetry Platform Driver: Currently supports APL
  * Copyright (c) 2015, Intel Corporation.
  * All Rights Reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
  * This file provides the platform specific telemetry implementation for APL.
  * It used the PUNIT and PMC IPC interfaces for configuring the counters.
  * The accumulated results are fetched from SRAM.
@@ -1242,4 +1234,4 @@ module_exit(telemetry_module_exit);
 MODULE_AUTHOR("Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com>");
 MODULE_DESCRIPTION("Intel SoC Telemetry Platform Driver");
 MODULE_VERSION(DRIVER_VERSION);
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 26/28] platform/x86: intel_turbo_max_3: Sort headers alphabetically
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (23 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 25/28] platform/x86: intel_telemetry: " Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 27/28] platform/x86: intel_turbo_max_3: Convert to use SPDX identifier Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 28/28] platform/x86: intel-wmi-thunderbolt: " Andy Shevchenko
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Sort headers alphabetically for better maintenance.

No functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_turbo_max_3.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/platform/x86/intel_turbo_max_3.c b/drivers/platform/x86/intel_turbo_max_3.c
index a6d5aa0c3c47..0e1bdb883ceb 100644
--- a/drivers/platform/x86/intel_turbo_max_3.c
+++ b/drivers/platform/x86/intel_turbo_max_3.c
@@ -17,12 +17,13 @@
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-#include <linux/kernel.h>
+#include <linux/cpufeature.h>
+#include <linux/cpuhotplug.h>
 #include <linux/init.h>
+#include <linux/kernel.h>
 #include <linux/topology.h>
 #include <linux/workqueue.h>
-#include <linux/cpuhotplug.h>
-#include <linux/cpufeature.h>
+
 #include <asm/cpu_device_id.h>
 #include <asm/intel-family.h>
 
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 27/28] platform/x86: intel_turbo_max_3: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (24 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 26/28] platform/x86: intel_turbo_max_3: Sort headers alphabetically Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  2018-09-26 16:52 ` [PATCH v1 28/28] platform/x86: intel-wmi-thunderbolt: " Andy Shevchenko
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel_turbo_max_3.c | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/drivers/platform/x86/intel_turbo_max_3.c b/drivers/platform/x86/intel_turbo_max_3.c
index 0e1bdb883ceb..7b9cc841ab65 100644
--- a/drivers/platform/x86/intel_turbo_max_3.c
+++ b/drivers/platform/x86/intel_turbo_max_3.c
@@ -1,19 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Intel Turbo Boost Max Technology 3.0 legacy (non HWP) enumeration driver
  * Copyright (c) 2017, Intel Corporation.
  * All rights reserved.
  *
  * Author: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH v1 28/28] platform/x86: intel-wmi-thunderbolt: Convert to use SPDX identifier
  2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
                   ` (25 preceding siblings ...)
  2018-09-26 16:52 ` [PATCH v1 27/28] platform/x86: intel_turbo_max_3: Convert to use SPDX identifier Andy Shevchenko
@ 2018-09-26 16:52 ` Andy Shevchenko
  26 siblings, 0 replies; 28+ messages in thread
From: Andy Shevchenko @ 2018-09-26 16:52 UTC (permalink / raw)
  To: Alex Hung, Mario Limonciello, Sujith Thomas, Rajneesh Bhardwaj,
	Zha Qipeng, Souvik Kumar Chakravarty, platform-driver-x86,
	Darren Hart, Hans de Goede, Srinivas Pandruvada, linux-kernel
  Cc: Andy Shevchenko

Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

While here, correct MODULE_LICENSE() string to be aligned with license text.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/platform/x86/intel-wmi-thunderbolt.c | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/drivers/platform/x86/intel-wmi-thunderbolt.c b/drivers/platform/x86/intel-wmi-thunderbolt.c
index c2257bd06f18..b029a70b084a 100644
--- a/drivers/platform/x86/intel-wmi-thunderbolt.c
+++ b/drivers/platform/x86/intel-wmi-thunderbolt.c
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * WMI Thunderbolt driver
  *
  * Copyright (C) 2017 Dell Inc. All Rights Reserved.
- *
- *  This program is free software; you can redistribute it and/or modify it
- *  under the terms of the GNU General Public License version 2 as published
- *  by the Free Software Foundation.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
@@ -95,4 +87,4 @@ module_wmi_driver(intel_wmi_thunderbolt_driver);
 MODULE_ALIAS("wmi:" INTEL_WMI_THUNDERBOLT_GUID);
 MODULE_AUTHOR("Mario Limonciello <mario.limonciello@dell.com>");
 MODULE_DESCRIPTION("Intel WMI Thunderbolt force power driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2018-09-26 17:00 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-26 16:51 [PATCH v1 01/28] platform/x86: intel_bxtwc_tmu: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:51 ` [PATCH v1 02/28] platform/x86: intel_cht_int33fe: " Andy Shevchenko
2018-09-26 16:51 ` [PATCH v1 03/28] platform/x86: intel_chtdc_ti_pwrbtn: Add " Andy Shevchenko
2018-09-26 16:51 ` [PATCH v1 04/28] platform/x86: intel-hid: Convert to use " Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 05/28] platform/x86: intel_int0002_vgpio: " Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 06/28] platform/x86: intel-ips: " Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 07/28] platform/x86: intel_menlow: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 08/28] platform/x86: intel_menlow: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 09/28] platform/x86: intel_mid_powerbtn: Remove unnecessary init.h inclusion Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 10/28] platform/x86: intel_mid_powerbtn: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 11/28] platform/x86: intel_mid_thermal: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 12/28] platform/x86: intel_mid_thermal: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 13/28] platform/x86: intel_oaktrail: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 14/28] platform/x86: intel_oaktrail: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 15/28] platform/x86: intel_pmc: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 16/28] platform/x86: intel_pmc: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 17/28] platform/x86: intel_punit_ipc: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 18/28] platform/x86: intel_punit_ipc: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 19/28] platform/x86: intel-rst: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 20/28] platform/x86: intel-rst: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 21/28] platform/x86: intel_scu_ipc: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 22/28] platform/x86: intel_scu_ipc: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 23/28] platform/x86: intel-smartconnect: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 24/28] platform/x86: intel-smartconnect: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 25/28] platform/x86: intel_telemetry: " Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 26/28] platform/x86: intel_turbo_max_3: Sort headers alphabetically Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 27/28] platform/x86: intel_turbo_max_3: Convert to use SPDX identifier Andy Shevchenko
2018-09-26 16:52 ` [PATCH v1 28/28] platform/x86: intel-wmi-thunderbolt: " Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).