diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-22 10:18:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-23 04:19:10 -0500 |
commit | 619daeeeb80f39bb037434598e489a88db14a95b (patch) | |
tree | 5909274816562f2ba4049d0f599245a18b19ef92 | |
parent | 3c47d19ff4dccf1500c33bcbe3b5bc804907a0da (diff) |
sysfs: use SPDX identifiers
Move the license "mark" of the sysfs files to be in SPDX form, instead
of the custom text that it currently is in. This is in a quest to get
rid of the 700+ different ways we say "GPLv2" in the kernel tree.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | fs/sysfs/dir.c | 3 | ||||
-rw-r--r-- | fs/sysfs/file.c | 3 | ||||
-rw-r--r-- | fs/sysfs/group.c | 4 | ||||
-rw-r--r-- | fs/sysfs/mount.c | 3 | ||||
-rw-r--r-- | fs/sysfs/symlink.c | 3 | ||||
-rw-r--r-- | fs/sysfs/sysfs.h | 3 |
6 files changed, 6 insertions, 13 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c index 3a36a48a4b3f..c9877fc1c5fe 100644 --- a/fs/sysfs/dir.c +++ b/fs/sysfs/dir.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * fs/sysfs/dir.c - sysfs core and dir operation implementation | 3 | * fs/sysfs/dir.c - sysfs core and dir operation implementation |
3 | * | 4 | * |
@@ -5,8 +6,6 @@ | |||
5 | * Copyright (c) 2007 SUSE Linux Products GmbH | 6 | * Copyright (c) 2007 SUSE Linux Products GmbH |
6 | * Copyright (c) 2007 Tejun Heo <teheo@suse.de> | 7 | * Copyright (c) 2007 Tejun Heo <teheo@suse.de> |
7 | * | 8 | * |
8 | * This file is released under the GPLv2. | ||
9 | * | ||
10 | * Please see Documentation/filesystems/sysfs.txt for more information. | 9 | * Please see Documentation/filesystems/sysfs.txt for more information. |
11 | */ | 10 | */ |
12 | 11 | ||
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index 39c75a86c67f..39da8e86f10a 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * fs/sysfs/file.c - sysfs regular (text) file implementation | 3 | * fs/sysfs/file.c - sysfs regular (text) file implementation |
3 | * | 4 | * |
@@ -5,8 +6,6 @@ | |||
5 | * Copyright (c) 2007 SUSE Linux Products GmbH | 6 | * Copyright (c) 2007 SUSE Linux Products GmbH |
6 | * Copyright (c) 2007 Tejun Heo <teheo@suse.de> | 7 | * Copyright (c) 2007 Tejun Heo <teheo@suse.de> |
7 | * | 8 | * |
8 | * This file is released under the GPLv2. | ||
9 | * | ||
10 | * Please see Documentation/filesystems/sysfs.txt for more information. | 9 | * Please see Documentation/filesystems/sysfs.txt for more information. |
11 | */ | 10 | */ |
12 | 11 | ||
diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c index 3f8efe8f387b..4802ec0e1e3a 100644 --- a/fs/sysfs/group.c +++ b/fs/sysfs/group.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * fs/sysfs/group.c - Operations for adding/removing multiple files at once. | 3 | * fs/sysfs/group.c - Operations for adding/removing multiple files at once. |
3 | * | 4 | * |
@@ -5,9 +6,6 @@ | |||
5 | * Copyright (c) 2003 Open Source Development Lab | 6 | * Copyright (c) 2003 Open Source Development Lab |
6 | * Copyright (c) 2013 Greg Kroah-Hartman | 7 | * Copyright (c) 2013 Greg Kroah-Hartman |
7 | * Copyright (c) 2013 The Linux Foundation | 8 | * Copyright (c) 2013 The Linux Foundation |
8 | * | ||
9 | * This file is released undert the GPL v2. | ||
10 | * | ||
11 | */ | 9 | */ |
12 | 10 | ||
13 | #include <linux/kobject.h> | 11 | #include <linux/kobject.h> |
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index fb49510c5dcf..1823a1be492e 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * fs/sysfs/symlink.c - operations for initializing and mounting sysfs | 3 | * fs/sysfs/symlink.c - operations for initializing and mounting sysfs |
3 | * | 4 | * |
@@ -5,8 +6,6 @@ | |||
5 | * Copyright (c) 2007 SUSE Linux Products GmbH | 6 | * Copyright (c) 2007 SUSE Linux Products GmbH |
6 | * Copyright (c) 2007 Tejun Heo <teheo@suse.de> | 7 | * Copyright (c) 2007 Tejun Heo <teheo@suse.de> |
7 | * | 8 | * |
8 | * This file is released under the GPLv2. | ||
9 | * | ||
10 | * Please see Documentation/filesystems/sysfs.txt for more information. | 9 | * Please see Documentation/filesystems/sysfs.txt for more information. |
11 | */ | 10 | */ |
12 | 11 | ||
diff --git a/fs/sysfs/symlink.c b/fs/sysfs/symlink.c index aecb15f84557..8664db25a9a6 100644 --- a/fs/sysfs/symlink.c +++ b/fs/sysfs/symlink.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * fs/sysfs/symlink.c - sysfs symlink implementation | 3 | * fs/sysfs/symlink.c - sysfs symlink implementation |
3 | * | 4 | * |
@@ -5,8 +6,6 @@ | |||
5 | * Copyright (c) 2007 SUSE Linux Products GmbH | 6 | * Copyright (c) 2007 SUSE Linux Products GmbH |
6 | * Copyright (c) 2007 Tejun Heo <teheo@suse.de> | 7 | * Copyright (c) 2007 Tejun Heo <teheo@suse.de> |
7 | * | 8 | * |
8 | * This file is released under the GPLv2. | ||
9 | * | ||
10 | * Please see Documentation/filesystems/sysfs.txt for more information. | 9 | * Please see Documentation/filesystems/sysfs.txt for more information. |
11 | */ | 10 | */ |
12 | 11 | ||
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index 0e2f1cccb812..d098e015fcc9 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h | |||
@@ -1,11 +1,10 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
1 | /* | 2 | /* |
2 | * fs/sysfs/sysfs.h - sysfs internal header file | 3 | * fs/sysfs/sysfs.h - sysfs internal header file |
3 | * | 4 | * |
4 | * Copyright (c) 2001-3 Patrick Mochel | 5 | * Copyright (c) 2001-3 Patrick Mochel |
5 | * Copyright (c) 2007 SUSE Linux Products GmbH | 6 | * Copyright (c) 2007 SUSE Linux Products GmbH |
6 | * Copyright (c) 2007 Tejun Heo <teheo@suse.de> | 7 | * Copyright (c) 2007 Tejun Heo <teheo@suse.de> |
7 | * | ||
8 | * This file is released under the GPLv2. | ||
9 | */ | 8 | */ |
10 | 9 | ||
11 | #ifndef __SYSFS_INTERNAL_H | 10 | #ifndef __SYSFS_INTERNAL_H |