Skip to contentSkip to conversation

iio: imu: fix spdx format

PATCH In review Tom Rix 2 participants 2 messages Jan 24, 2023 – Jan 28, 2023 IIO

lore
Share & tools
lore

Tom Rix

author
#0 lore raw

PATCH 1/1 iio: imu: fix spdx format

checkpatch reports
WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
FILE: drivers/iio/imu/bno055/bno055_ser_trace.c:1:
+//SPDX-License-Identifier: GPL-2.0

Add a space

Fixes 2eef5a9cc643 ("iio: imu: add BNO055 serdev driver")
---
 drivers/iio/imu/bno055/bno055_ser_trace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/imu/bno055/bno055_ser_trace.c +1 -1
index 48397b66daef..ab564186d19c 100644
@@ -1,4 +1,4 @@
-//SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0
 
 /*
  * bno055_ser Trace Support
Signature · 1 line
2.26.3
maintainer
#1 lore raw
Quoted 9 lines · On Tue, 24 Jan 2023 11:43:01 -0800 Tom Rix <[email protected]> wrote:

checkpatch reports
WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
FILE: drivers/iio/imu/bno055/bno055_ser_trace.c:1:
+//SPDX-License-Identifier: GPL-2.0

Add a space

Fixes 2eef5a9cc643 ("iio: imu: add BNO055 serdev driver")

Applied to the togreg branch of iio.git and pushed out as testing
so other patches in my queue get tested (not going to find anything in this one!)

Quoted 14 lines
---
 drivers/iio/imu/bno055/bno055_ser_trace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/imu/bno055/bno055_ser_trace.c +1 -1
index 48397b66daef..ab564186d19c 100644
@@ -1,4 +1,4 @@
-//SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0
 
 /*
  * bno055_ser Trace Support