iio: imu: fix spdx format

Message ID 20230124194301.656518-1-trix@redhat.com
State New
Headers
Series iio: imu: fix spdx format |

Commit Message

Tom Rix Jan. 24, 2023, 7:43 p.m. UTC
  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")
Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/iio/imu/bno055/bno055_ser_trace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Jonathan Cameron Jan. 28, 2023, 4:23 p.m. UTC | #1
On Tue, 24 Jan 2023 11:43:01 -0800
Tom Rix <trix@redhat.com> 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")
> Signed-off-by: Tom Rix <trix@redhat.com>
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!)

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

Patch

diff --git a/drivers/iio/imu/bno055/bno055_ser_trace.c b/drivers/iio/imu/bno055/bno055_ser_trace.c
index 48397b66daef..ab564186d19c 100644
--- a/drivers/iio/imu/bno055/bno055_ser_trace.c
+++ b/drivers/iio/imu/bno055/bno055_ser_trace.c
@@ -1,4 +1,4 @@ 
-//SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0
 
 /*
  * bno055_ser Trace Support