PCI: Add SPDX GPL-2.0+ to replace implicit GPL v2 or later statement
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Jan 2018 00:23:07 +0000 (18:23 -0600)
committerBjorn Helgaas <helgaas@kernel.org>
Tue, 30 Jan 2018 00:23:07 +0000 (18:23 -0600)
commit36b072742a83ba11241b784a2155dd012c2a5bf4
tree354603861fa8f075df5fd47b462be58c4c1f5492
parent736759ef59d86a7bcefb1cdb629abecafc645a46
PCI: Add SPDX GPL-2.0+ to replace implicit GPL v2 or later statement

7441b0627e22 ("s390/pci: PCI hotplug support via SCLP") added
s390_pci_hpc.c, which included this license information:

  +MODULE_LICENSE("GPL");

Based on "git show 7441b0627e22:include/linux/module.h", that "GPL" string
means "GPL v2 or later":

   *      "GPL"                           [GNU Public License v2 or later]

0729dcf24832 ("s390: hotplug: make pci_hpc explicitly non-modular")
subsequently replaced the MODULE_LICENSE() with a "License: GPL" comment.

Add SPDX GPL-2.0+ and remove the "License: GPL" comment, relying on the
assertion in b24413180f56 ("License cleanup: add SPDX GPL-2.0 license
identifier to files with no license") that the SPDX identifier may be used
instead of the full boilerplate text.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
drivers/pci/hotplug/s390_pci_hpc.c