driver core: Remove redundant license text
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Nov 2017 16:30:09 +0000 (17:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Dec 2017 17:36:44 +0000 (18:36 +0100)
Now that the SPDX tag is in all driver core files, that identifies the
license in a specific and legally-defined manner.  So the extra GPL text
wording can be removed as it is no longer needed at all.

This is done on a quest to remove the 700+ different ways that files in
the kernel describe the GPL license text.  And there's unneeded stuff
like the address (sometimes incorrect) for the FSF which is never
needed.

No copyright headers or other non-license-description text was removed.

Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: "Luis R. Rodriguez" <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28 files changed:
drivers/base/attribute_container.c
drivers/base/bus.c
drivers/base/cacheinfo.c
drivers/base/class.c
drivers/base/component.c
drivers/base/container.c
drivers/base/core.c
drivers/base/dd.c
drivers/base/devcoredump.c
drivers/base/devres.c
drivers/base/dma-contiguous.c
drivers/base/dma-mapping.c
drivers/base/driver.c
drivers/base/firmware.c
drivers/base/hypervisor.c
drivers/base/init.c
drivers/base/map.c
drivers/base/module.c
drivers/base/pinctrl.c
drivers/base/platform-msi.c
drivers/base/platform.c
drivers/base/property.c
drivers/base/soc.c
drivers/base/syscore.c
drivers/base/test/test_async_driver_probe.c
drivers/base/topology.c
drivers/base/transport_class.c
include/linux/device.h

index 218b9deb4f0b3251a0361ecfeeaeb730f4e5ca11..20736aaa0e69ccb69660c81b7b9ae9bee0332641 100644 (file)
@@ -4,8 +4,6 @@
  *
  * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com>
  *
- * This file is licensed under GPLv2
- *
  * The basic idea here is to enable a device to be attached to an
  * aritrary numer of classes without having to allocate storage for them.
  * Instead, the contained classes select the devices they need to attach
index 46ddb96b917927afb198d82638c044da5e184dd4..6c63e1abbdcc0f140326bc9911d58c719f42f8bf 100644 (file)
@@ -6,9 +6,6 @@
  * Copyright (c) 2002-3 Open Source Development Labs
  * Copyright (c) 2007 Greg Kroah-Hartman <gregkh@suse.de>
  * Copyright (c) 2007 Novell Inc.
- *
- * This file is released under the GPLv2
- *
  */
 
 #include <linux/async.h>
index e321a7e66a1dadc0eb914f1068e5b40224209702..6e1000bff4813af53eca3fafacdf35c20fa83d9a 100644 (file)
@@ -4,18 +4,6 @@
  *
  * Based on arch/x86/kernel/cpu/intel_cacheinfo.c
  * Author: Sudeep Holla <sudeep.holla@arm.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.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; 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, see <http://www.gnu.org/licenses/>.
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
index 61220ea83f8e50602b3ebb7909d28b33cd29de1b..54def4e02f005875de73fffa53974374bdcda940 100644 (file)
@@ -6,9 +6,6 @@
  * Copyright (c) 2002-3 Open Source Development Labs
  * Copyright (c) 2003-2004 Greg Kroah-Hartman
  * Copyright (c) 2003-2004 IBM Corp.
- *
- * This file is released under the GPLv2
- *
  */
 
 #include <linux/device.h>
index c96ed806871951d42441cffed67a590d87329d1f..891f0e38647ccb9c6eec0a934240411dc5f4ea28 100644 (file)
@@ -2,10 +2,6 @@
 /*
  * Componentized device handling.
  *
- * 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 is work in progress.  We gather up the component devices into a list,
  * and bind them when instructed.  At the moment, we're specific to the DRM
  * subsystem, and only handles one master device, but this doesn't have to be
index ddc68a1e10afdd85c4f0f8f6f9c938aa30e0ec4f..1ba42d2d353223e683be57bad5154df07abda10e 100644 (file)
@@ -4,10 +4,6 @@
  *
  * Copyright (C) 2013, Intel Corporation
  * Author: Rafael J. Wysocki <rafael.j.wysocki@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.
  */
 
 #include <linux/container.h>
index aa0593f1c2b6752094387bcc25ce1ec23fd2e0ca..bf45587bcb462307d6f087b2e69a9d9639a3f739 100644 (file)
@@ -6,9 +6,6 @@
  * Copyright (c) 2002-3 Open Source Development Labs
  * Copyright (c) 2006 Greg Kroah-Hartman <gregkh@suse.de>
  * Copyright (c) 2006 Novell, Inc.
- *
- * This file is released under the GPLv2
- *
  */
 
 #include <linux/device.h>
index 47ac37838399a30e45f0697c43036b95087f61c6..533c82f55ceaac56879ac0e137d66f45954277d0 100644 (file)
@@ -14,8 +14,6 @@
  * Copyright (c) 2002-3 Open Source Development Labs
  * Copyright (c) 2007-2009 Greg Kroah-Hartman <gregkh@suse.de>
  * Copyright (c) 2007-2009 Novell Inc.
- *
- * This file is released under the GPLv2
  */
 
 #include <linux/device.h>
index 3133684a87547e23714a0b3bd4298acf38bdef18..f1a3353f349467eeabd2cc4680fb96337bbf0eec 100644 (file)
@@ -1,24 +1,8 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * This file is provided under the GPLv2 license.
- *
- * GPL LICENSE SUMMARY
- *
  * Copyright(c) 2014 Intel Mobile Communications GmbH
  * Copyright(c) 2015 Intel Deutschland GmbH
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License 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.
- *
- * The full GNU General Public License is included in this distribution
- * in the file called COPYING.
- *
  * Contact Information:
  *  Intel Linux Wireless <ilw@linux.intel.com>
  * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
index 1b7a9a8cbd6a227dbfc4d57e41106ef7c397a22f..95b67281cd2a1b8266bb1a7dfcac0bf63bc917ea 100644 (file)
@@ -4,8 +4,6 @@
  *
  * Copyright (c) 2006  SUSE Linux Products GmbH
  * Copyright (c) 2006  Tejun Heo <teheo@suse.de>
- *
- * This file is released under the GPLv2.
  */
 
 #include <linux/device.h>
index 7c954100d503248d4844c720704c1ad4f022c282..d987dcd1bd564c4814294dd427fa4be6b0e8eb8c 100644 (file)
@@ -5,11 +5,6 @@
  * Written by:
  *     Marek Szyprowski <m.szyprowski@samsung.com>
  *     Michal Nazarewicz <mina86@mina86.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; either version 2 of the
- * License or (at your optional) any later version of the license.
  */
 
 #define pr_fmt(fmt) "cma: " fmt
index c7e7806a657f43f042a285b1425833e1ea5a873c..3b118353ea176af270d72a95ca1f79772a3f5602 100644 (file)
@@ -4,8 +4,6 @@
  *
  * Copyright (c) 2006  SUSE Linux Products GmbH
  * Copyright (c) 2006  Tejun Heo <teheo@suse.de>
- *
- * This file is released under the GPLv2.
  */
 
 #include <linux/acpi.h>
index 6a93c7522dbe739d583ede62598d0e871f7b908b..4e20d68edb0d2a47cb9632f10aafbb8f15351b2b 100644 (file)
@@ -6,9 +6,6 @@
  * Copyright (c) 2002-3 Open Source Development Labs
  * Copyright (c) 2007 Greg Kroah-Hartman <gregkh@suse.de>
  * Copyright (c) 2007 Novell Inc.
- *
- * This file is released under the GPLv2
- *
  */
 
 #include <linux/device.h>
index 0ef2a36de65ee63d328f889abdd482090449a9b1..8dff940e0db905a54f48670e87607804f5d17b92 100644 (file)
@@ -6,8 +6,6 @@
  * Copyright (c) 2002-3 Open Source Development Labs
  * Copyright (c) 2007 Greg Kroah-Hartman <gregkh@suse.de>
  * Copyright (c) 2007 Novell Inc.
- *
- * This file is released under the GPLv2
  */
 #include <linux/kobject.h>
 #include <linux/module.h>
index 8dbd98c7ed553c91e075f7955f01943b9d7fa330..1ce59b4b53ceacad2b252c235d175e96d574ebcc 100644 (file)
@@ -5,8 +5,6 @@
  * Copyright (C) IBM Corp. 2006
  * Copyright (C) 2007 Greg Kroah-Hartman <gregkh@suse.de>
  * Copyright (C) 2007 Novell Inc.
- *
- * This file is released under the GPLv2
  */
 
 #include <linux/kobject.h>
index 0bf84b9e09b2c315be0a574e79430f9e8f180f73..dd85b05a6a163da4d4d6c37e460f6241619afcb7 100644 (file)
@@ -2,8 +2,6 @@
 /*
  * Copyright (c) 2002-3 Patrick Mochel
  * Copyright (c) 2002-3 Open Source Development Labs
- *
- * This file is released under the GPLv2
  */
 
 #include <linux/device.h>
index 07daaf6c2cd60dc675125d30c56ef347d9f50d84..5650ab2b247ada40dc7eb74e2214e444859291d6 100644 (file)
@@ -3,7 +3,6 @@
  *  linux/drivers/base/map.c
  *
  * (C) Copyright Al Viro 2002,2003
- *     Released under GPL v2.
  *
  * NOTE: data structure needs to be changed.  It works, but for large dev_t
  * it will be too slow.  It is isolated, though, so these changes will be
index 9e50e55c547aebe471b1220373099145e1d5872e..46ad4d636731ddf8f20b3696b018b99cadcaeb88 100644 (file)
@@ -1,9 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
  * module.c - module sysfs fun for drivers
- *
- * This file is released under the GPLv2
- *
  */
 #include <linux/device.h>
 #include <linux/module.h>
index fec06a1a0e15d64e04c556b583207d89327456e1..c22864458511c10194e7f334219da5603df360c1 100644 (file)
@@ -7,8 +7,6 @@
  * Based on bits of regulator core, gpio core and clk core
  *
  * Author: Linus Walleij <linus.walleij@linaro.org>
- *
- * License terms: GNU General Public License (GPL) version 2
  */
 
 #include <linux/device.h>
index d7c56d5b06e0fc14abfe27a0e0ef0232d20424d5..8e22073aeeeda11ff1d0afa3e5723fc446adbf48 100644 (file)
@@ -4,18 +4,6 @@
  *
  * Copyright (C) 2015 ARM Limited, All Rights Reserved.
  * Author: Marc Zyngier <marc.zyngier@arm.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.
- *
- * 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, see <http://www.gnu.org/licenses/>.
  */
 
 #include <linux/device.h>
index be287c7f5a6a8d4b176530fcdd2cfe1d39936e58..f1bf7b38d91ca7ac69a5477ed08103f59e151bbe 100644 (file)
@@ -5,8 +5,6 @@
  * Copyright (c) 2002-3 Patrick Mochel
  * Copyright (c) 2002-3 Open Source Development Labs
  *
- * This file is released under the GPLv2
- *
  * Please see Documentation/driver-model/platform.txt for more
  * information.
  */
index f64bf6bebf58bda7cca20ef6a04f631903f975a0..1ddf769ab8f7ae8f3b2d45b2eb6bb4c47c6562eb 100644 (file)
@@ -5,10 +5,6 @@
  * Copyright (C) 2014, Intel Corporation
  * Authors: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  *          Mika Westerberg <mika.westerberg@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 version 2 as
- * published by the Free Software Foundation.
  */
 
 #include <linux/acpi.h>
index b1e6e7ca46f0de2d83cf43bebfe774a5853f474f..4e80f48ad5d6ce41dc41e83b4e6c2075dbd9d0d5 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) ST-Ericsson SA 2011
  *
  * Author: Lee Jones <lee.jones@linaro.org> for ST-Ericsson.
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #include <linux/sysfs.h>
index 34f71a46b51c058974ee487e0a6167ef0b35a312..6e076f359dcc70e2f0982ab6b651ebe0fa76e4d9 100644 (file)
@@ -3,8 +3,6 @@
  *  syscore.c - Execution of system core operations.
  *
  *  Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
- *
- *  This file is released under the GPLv2.
  */
 
 #include <linux/syscore_ops.h>
index 58b445ed8d8be9f0c233d3a1cd396ce0d900974f..e7f145d662f06a9f313c92e322a73fa5a5eebfa2 100644 (file)
@@ -1,15 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2014 Google, Inc.
- *
- * 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
index 5abc176a296697da2f88e9f342805062d095838b..5fd9f167ecc10e68a53c29b0a0046206a5003879 100644 (file)
@@ -7,22 +7,6 @@
  * Copyright (C) 2006, Intel Corp.
  *
  * 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 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, GOOD TITLE or
- * NON INFRINGEMENT.  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., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
  */
 #include <linux/mm.h>
 #include <linux/cpu.h>
index 750378341a4362ab28cdeb9532e708f5e27f08db..5ed86ded6e6b61a813acbd876e814c6f43607fe7 100644 (file)
@@ -5,8 +5,6 @@
  *
  * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com>
  *
- * This file is licensed under GPLv2
- *
  * The basic idea here is to allow any "device controller" (which
  * would most often be a Host Bus Adapter to use the services of one
  * or more tranport classes for performing transport specific
index 70d352f9083ab9850284600fb6068d6a7f9a0724..46cece519fb97db0aeedb8fe1300c26b72b954d0 100644 (file)
@@ -6,8 +6,6 @@
  * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de>
  * Copyright (c) 2008-2009 Novell Inc.
  *
- * This file is released under the GPLv2
- *
  * See Documentation/driver-model/ for more information.
  */