All of lore.kernel.org
 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 25/28] platform/x86: intel_telemetry: Convert to use SPDX identifier
Date: Wed, 26 Sep 2018 19:52:20 +0300	[thread overview]
Message-ID: <20180926165223.19390-25-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_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


  parent reply	other threads:[~2018-09-26 16:54 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 ` [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 ` Andy Shevchenko [this message]
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-25-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.