summaryrefslogtreecommitdiffstats
path: root/drivers/base/power/main.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-02 15:32:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-04 20:03:40 +0200
commit5de363b66a37a0193e28a2de64fa4996159bd5ee (patch)
tree8b127711898a994dac1de5ae8f186dbde8a8f059 /drivers/base/power/main.c
parent50f86aedfa96c53498971a416d1b34cf1b13282e (diff)
downloadlinux-5de363b66a37a0193e28a2de64fa4996159bd5ee.tar.bz2
drivers: base: power: add proper SPDX identifiers on files that did not have them.
There were a few files in the driver core power code that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse. Cc: "Rafael J. Wysocki" <rafael@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/power/main.c')
-rw-r--r--drivers/base/power/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index f80d298de3fa..bd5bb5a09723 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* drivers/base/power/main.c - Where the driver meets power management.
*
* Copyright (c) 2003 Patrick Mochel
* Copyright (c) 2003 Open Source Development Lab
*
- * This file is released under the GPLv2
- *
- *
* The driver model core calls device_pm_add() when a device is registered.
* This will initialize the embedded device_pm_info object in the device
* and add it to the list of power-controlled devices. sysfs entries for