Skip to content

Commit 619daee

Browse files
committed
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>
1 parent 3c47d19 commit 619daee

6 files changed

Lines changed: 6 additions & 13 deletions

File tree

‎fs/sysfs/dir.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* fs/sysfs/dir.c - sysfs core and dir operation implementation
34
*
45
* Copyright (c) 2001-3 Patrick Mochel
56
* Copyright (c) 2007 SUSE Linux Products GmbH
67
* Copyright (c) 2007 Tejun Heo <teheo@suse.de>
78
*
8-
* This file is released under the GPLv2.
9-
*
109
* Please see Documentation/filesystems/sysfs.txt for more information.
1110
*/
1211

‎fs/sysfs/file.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* fs/sysfs/file.c - sysfs regular (text) file implementation
34
*
45
* Copyright (c) 2001-3 Patrick Mochel
56
* Copyright (c) 2007 SUSE Linux Products GmbH
67
* Copyright (c) 2007 Tejun Heo <teheo@suse.de>
78
*
8-
* This file is released under the GPLv2.
9-
*
109
* Please see Documentation/filesystems/sysfs.txt for more information.
1110
*/
1211

‎fs/sysfs/group.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* fs/sysfs/group.c - Operations for adding/removing multiple files at once.
34
*
45
* Copyright (c) 2003 Patrick Mochel
56
* Copyright (c) 2003 Open Source Development Lab
67
* Copyright (c) 2013 Greg Kroah-Hartman
78
* Copyright (c) 2013 The Linux Foundation
8-
*
9-
* This file is released undert the GPL v2.
10-
*
119
*/
1210

1311
#include <linux/kobject.h>

‎fs/sysfs/mount.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* fs/sysfs/symlink.c - operations for initializing and mounting sysfs
34
*
45
* Copyright (c) 2001-3 Patrick Mochel
56
* Copyright (c) 2007 SUSE Linux Products GmbH
67
* Copyright (c) 2007 Tejun Heo <teheo@suse.de>
78
*
8-
* This file is released under the GPLv2.
9-
*
109
* Please see Documentation/filesystems/sysfs.txt for more information.
1110
*/
1211

‎fs/sysfs/symlink.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* fs/sysfs/symlink.c - sysfs symlink implementation
34
*
45
* Copyright (c) 2001-3 Patrick Mochel
56
* Copyright (c) 2007 SUSE Linux Products GmbH
67
* Copyright (c) 2007 Tejun Heo <teheo@suse.de>
78
*
8-
* This file is released under the GPLv2.
9-
*
109
* Please see Documentation/filesystems/sysfs.txt for more information.
1110
*/
1211

‎fs/sysfs/sysfs.h‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1+
/* SPDX-License-Identifier: GPL-2.0 */
12
/*
23
* fs/sysfs/sysfs.h - sysfs internal header file
34
*
45
* Copyright (c) 2001-3 Patrick Mochel
56
* Copyright (c) 2007 SUSE Linux Products GmbH
67
* Copyright (c) 2007 Tejun Heo <teheo@suse.de>
7-
*
8-
* This file is released under the GPLv2.
98
*/
109

1110
#ifndef __SYSFS_INTERNAL_H

0 commit comments

Comments
 (0)