linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Alex Hung <alex.hung@canonical.com>,
	Mario Limonciello <mario.limonciello@dell.com>,
	Sujith Thomas <sujith.thomas@intel.com>,
	Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>,
	Zha Qipeng <qipeng.zha@intel.com>,
	Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com>,
	platform-driver-x86@vger.kernel.org,
	Darren Hart <dvhart@infradead.org>,
	Hans de Goede <hdegoede@redhat.com>,
	Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
	linux-kernel@vger.kernel.org
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: [PATCH v1 16/28] platform/x86: intel_pmc: Convert to use SPDX identifier
Date: Wed, 26 Sep 2018 19:52:11 +0300	[thread overview]
Message-ID: <20180926165223.19390-16-andriy.shevchenko@linux.intel.com> (raw)
In-Reply-To: <20180926165223.19390-1-andriy.shevchenko@linux.intel.com>

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


  parent reply	other threads:[~2018-09-26 16:52 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Andy Shevchenko [this message]
2018-09-26 16:52 ` [PATCH v1 17/28] platform/x86: intel_punit_ipc: " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180926165223.19390-16-andriy.shevchenko@linux.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=alex.hung@canonical.com \
    --cc=dvhart@infradead.org \
    --cc=hdegoede@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mario.limonciello@dell.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=qipeng.zha@intel.com \
    --cc=rajneesh.bhardwaj@intel.com \
    --cc=souvik.k.chakravarty@intel.com \
    --cc=srinivas.pandruvada@linux.intel.com \
    --cc=sujith.thomas@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).