drivers/i2c: include SPDX-license header
Subsystems (2)
PATCH 1/1 drivers/i2c: include SPDX-license header
SPDX license headers makes it easy for developers and machines to know the license that is governing that file
Signed-off-by Mawanda Henry <[email protected]>
--- drivers/i2c/i2c-core-slave.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/i2c/i2c-core-slave.c +1 -5
@@ -1,13 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-2.0+ /* * Linux I2C core slave support code * * Copyright (C) 2014 by Wolfram Sang <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the Free -* Software Foundation; either version 2 of the License, or (at your option) -* any later version. */ #include <dt-bindings/i2c/i2c.h>
Signature · 1 line
2.7.4
Quoted 2 lines · Mawanda Henry
SPDX license headers makes it easy for developers and machines to know the license that is governing that file
This patch appears to be on top of the previously rejected patch. Please remove that broken patch first so that this patch applies to a clean tree.
Quoted 10 lines
Signed-off-by Mawanda Henry <[email protected]>--- drivers/i2c/i2c-core-slave.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)drivers/i2c/i2c-core-slave.c +0
-0
drivers/i2c/i2c-core-slave.c line 6
Quoted 7 lines
drivers/i2c/i2c-core-slave.c +1
-1@@ -1,13 +1,9 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-2.0+ /* * Linux I2C core slave support code * * Copyright (C) 2014 by Wolfram Sang <[email protected]> *
Also, the above empty "*" line should also be removed.
Cheers,
Peter
Quoted 8 lines
drivers/i2c/i2c-core-slave.c +0
-4-* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the Free -* Software Foundation; either version 2 of the License, or (at your option) -* any later version. */ #include <dt-bindings/i2c/i2c.h>