提交 619daeee 编写于 作者: G Greg Kroah-Hartman

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: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 3c47d19f
// SPDX-License-Identifier: GPL-2.0
/* /*
* fs/sysfs/dir.c - sysfs core and dir operation implementation * fs/sysfs/dir.c - sysfs core and dir operation implementation
* *
...@@ -5,8 +6,6 @@ ...@@ -5,8 +6,6 @@
* Copyright (c) 2007 SUSE Linux Products GmbH * Copyright (c) 2007 SUSE Linux Products GmbH
* Copyright (c) 2007 Tejun Heo <teheo@suse.de> * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
* *
* This file is released under the GPLv2.
*
* Please see Documentation/filesystems/sysfs.txt for more information. * Please see Documentation/filesystems/sysfs.txt for more information.
*/ */
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* fs/sysfs/file.c - sysfs regular (text) file implementation * fs/sysfs/file.c - sysfs regular (text) file implementation
* *
...@@ -5,8 +6,6 @@ ...@@ -5,8 +6,6 @@
* Copyright (c) 2007 SUSE Linux Products GmbH * Copyright (c) 2007 SUSE Linux Products GmbH
* Copyright (c) 2007 Tejun Heo <teheo@suse.de> * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
* *
* This file is released under the GPLv2.
*
* Please see Documentation/filesystems/sysfs.txt for more information. * Please see Documentation/filesystems/sysfs.txt for more information.
*/ */
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* fs/sysfs/group.c - Operations for adding/removing multiple files at once. * fs/sysfs/group.c - Operations for adding/removing multiple files at once.
* *
...@@ -5,9 +6,6 @@ ...@@ -5,9 +6,6 @@
* Copyright (c) 2003 Open Source Development Lab * Copyright (c) 2003 Open Source Development Lab
* Copyright (c) 2013 Greg Kroah-Hartman * Copyright (c) 2013 Greg Kroah-Hartman
* Copyright (c) 2013 The Linux Foundation * Copyright (c) 2013 The Linux Foundation
*
* This file is released undert the GPL v2.
*
*/ */
#include <linux/kobject.h> #include <linux/kobject.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* fs/sysfs/symlink.c - operations for initializing and mounting sysfs * fs/sysfs/symlink.c - operations for initializing and mounting sysfs
* *
...@@ -5,8 +6,6 @@ ...@@ -5,8 +6,6 @@
* Copyright (c) 2007 SUSE Linux Products GmbH * Copyright (c) 2007 SUSE Linux Products GmbH
* Copyright (c) 2007 Tejun Heo <teheo@suse.de> * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
* *
* This file is released under the GPLv2.
*
* Please see Documentation/filesystems/sysfs.txt for more information. * Please see Documentation/filesystems/sysfs.txt for more information.
*/ */
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* fs/sysfs/symlink.c - sysfs symlink implementation * fs/sysfs/symlink.c - sysfs symlink implementation
* *
...@@ -5,8 +6,6 @@ ...@@ -5,8 +6,6 @@
* Copyright (c) 2007 SUSE Linux Products GmbH * Copyright (c) 2007 SUSE Linux Products GmbH
* Copyright (c) 2007 Tejun Heo <teheo@suse.de> * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
* *
* This file is released under the GPLv2.
*
* Please see Documentation/filesystems/sysfs.txt for more information. * Please see Documentation/filesystems/sysfs.txt for more information.
*/ */
......
/* SPDX-License-Identifier: GPL-2.0 */
/* /*
* fs/sysfs/sysfs.h - sysfs internal header file * fs/sysfs/sysfs.h - sysfs internal header file
* *
* Copyright (c) 2001-3 Patrick Mochel * Copyright (c) 2001-3 Patrick Mochel
* Copyright (c) 2007 SUSE Linux Products GmbH * Copyright (c) 2007 SUSE Linux Products GmbH
* Copyright (c) 2007 Tejun Heo <teheo@suse.de> * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
*
* This file is released under the GPLv2.
*/ */
#ifndef __SYSFS_INTERNAL_H #ifndef __SYSFS_INTERNAL_H
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册