Skip to contentSkip to conversation

drivers/i2c: include SPDX-license header

PATCH In review Mawanda Henry 2 participants 2 messages Jun 21, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

---
 drivers/i2c/i2c-core-slave.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/i2c/i2c-core-slave.c +1 -5
index 883ca836..fd6a405 100644
@@ -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
#1 lore raw
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
---
 drivers/i2c/i2c-core-slave.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/i2c/i2c-core-slave.c +0 -0
index 883ca836..fd6a405 100644

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>