diff mbox series

[05/14] iio: triggered-event: Add SPDX and fix header license to match the code.

Message ID 20190622145516.3231-6-jic23@kernel.org (mailing list archive)
State New, archived
Headers show
Series iio: SPDX headers for core + non device driver parts. | expand

Commit Message

Jonathan Cameron June 22, 2019, 2:55 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

The c file had clear license text, this disgreed with the default
GPL-2.0 added due to the header having no previous license
text at all.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 drivers/iio/industrialio-triggered-event.c | 6 +-----
 include/linux/iio/triggered_event.h        | 2 +-
 2 files changed, 2 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/drivers/iio/industrialio-triggered-event.c b/drivers/iio/industrialio-triggered-event.c
index 8cc254fac16a..77b59dbfe710 100644
--- a/drivers/iio/industrialio-triggered-event.c
+++ b/drivers/iio/industrialio-triggered-event.c
@@ -1,10 +1,6 @@ 
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2015 Cogent Embedded, Inc.
- *
- * 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 <linux/kernel.h>
diff --git a/include/linux/iio/triggered_event.h b/include/linux/iio/triggered_event.h
index 13250fd99745..8f73190188ce 100644
--- a/include/linux/iio/triggered_event.h
+++ b/include/linux/iio/triggered_event.h
@@ -1,4 +1,4 @@ 
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0+ */
 #ifndef _LINUX_IIO_TRIGGERED_EVENT_H_
 #define _LINUX_IIO_TRIGGERED_EVENT_H_