drivers/i2c: Include SPDX-license-identifier
Subsystems (2)
PATCH 1/1 drivers/i2c: Include SPDX-license-identifier
including the SPDX license identifier header makes it easy for developers and machines to know the lecense that is governing the file
Signed-off-by Mawanda Henry <[email protected]>
--- drivers/i2c/i2c-core-slave.c | 1 + 1 file changed, 1 insertion(+)
drivers/i2c/i2c-core-slave.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Linux I2C core slave support code *
Signature · 1 line
2.7.4
Quoted 2 lines · Mawanda Henry
including the SPDX license identifier header makes it easy for developers and machines to know the lecense that is governing the file
If you do changes like this, you should also remove the actual license text (it follows later in the comment in this case). And more importantly, you should make *sure* that you use the correct SPDX tag, which you don't in this case.
So, you need to fix those issues.
Cheers,
Peter
Quoted 15 lines
Signed-off-by Mawanda Henry <[email protected]>--- drivers/i2c/i2c-core-slave.c | 1 + 1 file changed, 1 insertion(+)drivers/i2c/i2c-core-slave.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Linux I2C core slave support code *