From patchwork Sat Jun 22 14:55:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011309 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D749276 for ; Sat, 22 Jun 2019 14:57:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C34C528B02 for ; Sat, 22 Jun 2019 14:57:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B3BAA28B97; Sat, 22 Jun 2019 14:57:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD24528ADC for ; Sat, 22 Jun 2019 14:57:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726287AbfFVO5s (ORCPT ); Sat, 22 Jun 2019 10:57:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:58104 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO5s (ORCPT ); Sat, 22 Jun 2019 10:57:48 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 78FF320449; Sat, 22 Jun 2019 14:57:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215466; bh=1wlV+IQRLXQwrasM7Dt61Vdd3Vno7BFWIKU2+ynJCaM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Uk2UKB4XH11vl5jByoVepMiI2PqTjMjVebhE6xTwFXunOD+7ipj/GYqQrP/SpxQhs 6wl+5mbwg8N3JhWam/kv0DkW4VPQX3v3tzNp7ldl+ZbY9s3qCjiW2JqmHqlRqqvtmJ Y/O5jC0hKn6SOeexY9FE8rKvaZSPoKkElPx+sHWA= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 01/14] iio: core: SPDX headers for core files. Note fix to MODULE_LICENSE Date: Sat, 22 Jun 2019 15:55:03 +0100 Message-Id: <20190622145516.3231-2-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron There is a concerted push to ensure all of the kernel files have SPDX headers going on, so about time IIO caught up. Given the large and mechanical nature of the changes + the need to actually check the changes are correct by hand, I'll split them down in to fairly bite sized chunks. This first patch is those files that feed directly into industrialio.ko. Note the visual inspection showed that MODULE_LICENSE(GPL) was different from the clearly file headers which did not have the or later text that implies. I have taken the code as having precedence and changed this to GPL v2. Signed-off-by: Jonathan Cameron --- drivers/iio/iio_core.h | 8 +++----- drivers/iio/iio_core_trigger.h | 2 +- drivers/iio/industrialio-buffer.c | 8 +++----- drivers/iio/industrialio-core.c | 10 ++++------ drivers/iio/industrialio-event.c | 4 +++- drivers/iio/industrialio-trigger.c | 8 +++----- drivers/iio/inkern.c | 8 +++----- include/linux/iio/buffer.h | 8 +++----- include/linux/iio/consumer.h | 5 +---- include/linux/iio/driver.h | 5 +---- include/linux/iio/events.h | 8 +++----- include/linux/iio/iio.h | 9 +++------ include/linux/iio/machine.h | 5 +---- include/linux/iio/sysfs.h | 10 ++++------ include/linux/iio/trigger.h | 5 +---- include/linux/iio/trigger_consumer.h | 8 +++----- include/linux/iio/types.h | 8 +++----- 17 files changed, 43 insertions(+), 76 deletions(-) diff --git a/drivers/iio/iio_core.h b/drivers/iio/iio_core.h index c775fedbcaf6..62b3c436d367 100644 --- a/drivers/iio/iio_core.h +++ b/drivers/iio/iio_core.h @@ -1,11 +1,9 @@ -/* The industrial I/O core function defs. +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * The industrial I/O core function defs. * * Copyright (c) 2008 Jonathan Cameron * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. - * * These definitions are meant for use only within the IIO core, not individual * drivers. */ diff --git a/drivers/iio/iio_core_trigger.h b/drivers/iio/iio_core_trigger.h index 1fdb1e4ea4a5..e945764da1b0 100644 --- a/drivers/iio/iio_core_trigger.h +++ b/drivers/iio/iio_core_trigger.h @@ -1,4 +1,4 @@ - +/* SPDX-License-Identifier: GPL-2.0 */ /* The industrial I/O core, trigger consumer handling functions * * Copyright (c) 2008 Jonathan Cameron diff --git a/drivers/iio/industrialio-buffer.c b/drivers/iio/industrialio-buffer.c index 4fa273002c03..698f650145a0 100644 --- a/drivers/iio/industrialio-buffer.c +++ b/drivers/iio/industrialio-buffer.c @@ -1,11 +1,9 @@ -/* The industrial I/O core +// SPDX-License-Identifier: GPL-2.0 +/* + * The industrial I/O core * * Copyright (c) 2008 Jonathan Cameron * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. - * * Handling of buffer allocation / resizing. * * diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index 85a699b5ae96..518b654a248b 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c @@ -1,11 +1,9 @@ -/* The industrial I/O core +// SPDX-License-Identifier: GPL-2.0 +/* + * The industrial I/O core * * Copyright (c) 2008 Jonathan Cameron * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. - * * Based on elements of hwmon and input subsystems. */ @@ -1821,4 +1819,4 @@ module_exit(iio_exit); MODULE_AUTHOR("Jonathan Cameron "); MODULE_DESCRIPTION("Industrial I/O core"); -MODULE_LICENSE("GPL"); +MODULE_LICENSE("GPL v2"); diff --git a/drivers/iio/industrialio-event.c b/drivers/iio/industrialio-event.c index c6dfdf0aaac5..d32ebf47960f 100644 --- a/drivers/iio/industrialio-event.c +++ b/drivers/iio/industrialio-event.c @@ -1,4 +1,6 @@ -/* Industrial I/O event handling +// SPDX-License-Identifier: GPL-2.0 +/* + * Industrial I/O event handling * * Copyright (c) 2008 Jonathan Cameron * diff --git a/drivers/iio/industrialio-trigger.c b/drivers/iio/industrialio-trigger.c index e5b538379ed1..affe336842e0 100644 --- a/drivers/iio/industrialio-trigger.c +++ b/drivers/iio/industrialio-trigger.c @@ -1,10 +1,8 @@ -/* The industrial I/O core, trigger handling functions +// SPDX-License-Identifier: GPL-2.0 +/* + * The industrial I/O core, trigger handling functions * * Copyright (c) 2008 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #include diff --git a/drivers/iio/inkern.c b/drivers/iio/inkern.c index 4a5eff3f18bc..89684464b72a 100644 --- a/drivers/iio/inkern.c +++ b/drivers/iio/inkern.c @@ -1,10 +1,8 @@ -/* The industrial I/O core in kernel channel mapping +// SPDX-License-Identifier: GPL-2.0 +/* + * The industrial I/O core in kernel channel mapping * * Copyright (c) 2011 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #include #include diff --git a/include/linux/iio/buffer.h b/include/linux/iio/buffer.h index 48767c776119..50c645369544 100644 --- a/include/linux/iio/buffer.h +++ b/include/linux/iio/buffer.h @@ -1,10 +1,8 @@ -/* The industrial I/O core - generic buffer interfaces. +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * The industrial I/O core - generic buffer interfaces. * * Copyright (c) 2008 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #ifndef _IIO_BUFFER_GENERIC_H_ diff --git a/include/linux/iio/consumer.h b/include/linux/iio/consumer.h index b2d34831ed7c..25c5f932c03d 100644 --- a/include/linux/iio/consumer.h +++ b/include/linux/iio/consumer.h @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Industrial I/O in kernel consumer interface * * Copyright (c) 2011 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #ifndef _IIO_INKERN_CONSUMER_H_ #define _IIO_INKERN_CONSUMER_H_ diff --git a/include/linux/iio/driver.h b/include/linux/iio/driver.h index f54a7bcdefe3..d5e63a832f49 100644 --- a/include/linux/iio/driver.h +++ b/include/linux/iio/driver.h @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Industrial I/O in kernel access map interface. * * Copyright (c) 2011 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #ifndef _IIO_INKERN_H_ diff --git a/include/linux/iio/events.h b/include/linux/iio/events.h index 8ad87d1c5340..4ed5a1e4b3c0 100644 --- a/include/linux/iio/events.h +++ b/include/linux/iio/events.h @@ -1,10 +1,8 @@ -/* The industrial I/O - event passing to userspace +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * The industrial I/O - event passing to userspace * * Copyright (c) 2008-2011 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #ifndef _IIO_EVENTS_H_ #define _IIO_EVENTS_H_ diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index bb10c1bee301..9a5d40874ed5 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h @@ -1,11 +1,8 @@ - -/* The industrial I/O core +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * The industrial I/O core * * Copyright (c) 2008 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #ifndef _INDUSTRIAL_IO_H_ #define _INDUSTRIAL_IO_H_ diff --git a/include/linux/iio/machine.h b/include/linux/iio/machine.h index 5e1cfa75f652..3a2dfd43c8ef 100644 --- a/include/linux/iio/machine.h +++ b/include/linux/iio/machine.h @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Industrial I/O in kernel access map definitions for board files. * * Copyright (c) 2011 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #ifndef __LINUX_IIO_MACHINE_H__ diff --git a/include/linux/iio/sysfs.h b/include/linux/iio/sysfs.h index ce9426c507fd..e70291975d5b 100644 --- a/include/linux/iio/sysfs.h +++ b/include/linux/iio/sysfs.h @@ -1,10 +1,8 @@ -/* The industrial I/O core +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * The industrial I/O core * - *Copyright (c) 2008 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. + * Copyright (c) 2008 Jonathan Cameron * * General attributes */ diff --git a/include/linux/iio/trigger.h b/include/linux/iio/trigger.h index b19b7204ef84..430b99f76081 100644 --- a/include/linux/iio/trigger.h +++ b/include/linux/iio/trigger.h @@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* The industrial I/O core, trigger handling functions * * Copyright (c) 2008 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #include #include diff --git a/include/linux/iio/trigger_consumer.h b/include/linux/iio/trigger_consumer.h index c4f8c7409666..6c6d7da8d626 100644 --- a/include/linux/iio/trigger_consumer.h +++ b/include/linux/iio/trigger_consumer.h @@ -1,10 +1,8 @@ -/* The industrial I/O core, trigger consumer functions +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * The industrial I/O core, trigger consumer functions * * Copyright (c) 2008-2011 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #ifndef __LINUX_IIO_TRIGGER_CONSUMER_H__ diff --git a/include/linux/iio/types.h b/include/linux/iio/types.h index 6eb3d683ef62..a4af165d6461 100644 --- a/include/linux/iio/types.h +++ b/include/linux/iio/types.h @@ -1,10 +1,8 @@ -/* industrial I/O data types needed both in and out of kernel +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * industrial I/O data types needed both in and out of kernel * * Copyright (c) 2008 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #ifndef _IIO_TYPES_H_ From patchwork Sat Jun 22 14:55:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011311 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 30A801398 for ; Sat, 22 Jun 2019 14:57:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F08028ADC for ; Sat, 22 Jun 2019 14:57:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12FC428B97; Sat, 22 Jun 2019 14:57:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B5BDA28ADC for ; Sat, 22 Jun 2019 14:57:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726290AbfFVO5t (ORCPT ); Sat, 22 Jun 2019 10:57:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:58138 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO5t (ORCPT ); Sat, 22 Jun 2019 10:57:49 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 32CCE20679; Sat, 22 Jun 2019 14:57:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215468; bh=CoOcIJ/F5TFlOGbEUMjRsUYfQ81+FptII5JZiEf3g6o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TaWjeGFZ0A3M+DgivIRV6cxKCShqRQZwyshkziEMIO9mT5Ds4Ea3QKXqnQ0R9QktS QigmbUh5kqWvL+FNouimmXj/7lFZt5r0kfmBIZIPg7v9/pnq5fuPgTU9/V91QAXeps WiqW4SVABb0ZYYcjAA6Iz7wfa0htzEslrrLiaVOI= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 02/14] iio:configfs: SPDX headers. Date: Sat, 22 Jun 2019 15:55:04 +0100 Message-Id: <20190622145516.3231-3-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron Simple removal of boilerplate and insertion of spdx for GPL v2. Signed-off-by: Jonathan Cameron Cc: Daniel Baluta --- drivers/iio/industrialio-configfs.c | 5 +---- include/linux/iio/configfs.h | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/iio/industrialio-configfs.c b/drivers/iio/industrialio-configfs.c index 5a0aae119369..92b1ab4f159d 100644 --- a/drivers/iio/industrialio-configfs.c +++ b/drivers/iio/industrialio-configfs.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Industrial I/O configfs bits * * Copyright (c) 2015 Intel Corporation - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #include diff --git a/include/linux/iio/configfs.h b/include/linux/iio/configfs.h index 93befd67c15c..75752e69916c 100644 --- a/include/linux/iio/configfs.h +++ b/include/linux/iio/configfs.h @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Industrial I/O configfs support * * Copyright (c) 2015 Intel Corporation - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #ifndef __IIO_CONFIGFS #define __IIO_CONFIGFS From patchwork Sat Jun 22 14:55:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011313 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 132CA1398 for ; Sat, 22 Jun 2019 14:57:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 02FA328ADC for ; Sat, 22 Jun 2019 14:57:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EB9D728B9B; Sat, 22 Jun 2019 14:57:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E93F28ADC for ; Sat, 22 Jun 2019 14:57:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726293AbfFVO5v (ORCPT ); Sat, 22 Jun 2019 10:57:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:58172 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO5v (ORCPT ); Sat, 22 Jun 2019 10:57:51 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DBE7F20820; Sat, 22 Jun 2019 14:57:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215470; bh=z3PkCbmJUGyQMykrtqUtVR09dSPR8wkjoEJVhmqRtgI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yI22VW/t8fW+NH+SsP7pvgg2NuQ34r1nuB0s9lQk/+bCMhGSTwwZs0Cv6Rja8fPpZ nRAI1LRC6ZLobod+I2dKjqid1eUNb+G1WQvInStWyGfv4zhcbXhfAs76UICw3U4qbZ 1bp+wvuLYHrmqqPT/XzXIJOUTy3vbz/UT7S2iO/g= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 03/14] iio: sw-device: SPDX headers Date: Sat, 22 Jun 2019 15:55:05 +0100 Message-Id: <20190622145516.3231-4-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron Simple GPLv2. Signed-off-by: Jonathan Cameron Cc: Daniel Baluta --- drivers/iio/industrialio-sw-device.c | 5 +---- include/linux/iio/sw_device.h | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/iio/industrialio-sw-device.c b/drivers/iio/industrialio-sw-device.c index 90df97c542f6..cefa6ce4555a 100644 --- a/drivers/iio/industrialio-sw-device.c +++ b/drivers/iio/industrialio-sw-device.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * The Industrial I/O core, software IIO devices functions * * Copyright (c) 2016 Intel Corporation - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #include diff --git a/include/linux/iio/sw_device.h b/include/linux/iio/sw_device.h index 8642b91a7577..253ae5fce3d0 100644 --- a/include/linux/iio/sw_device.h +++ b/include/linux/iio/sw_device.h @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Industrial I/O software device interface * * Copyright (c) 2016 Intel Corporation - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #ifndef __IIO_SW_DEVICE From patchwork Sat Jun 22 14:55:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011315 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B9B4E1398 for ; Sat, 22 Jun 2019 14:57:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A977F28ADC for ; Sat, 22 Jun 2019 14:57:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9DB5428B97; Sat, 22 Jun 2019 14:57:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4F56028ADC for ; Sat, 22 Jun 2019 14:57:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726296AbfFVO5x (ORCPT ); Sat, 22 Jun 2019 10:57:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:58208 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO5w (ORCPT ); Sat, 22 Jun 2019 10:57:52 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8EAFF2075E; Sat, 22 Jun 2019 14:57:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215471; bh=cYTEBA7xPXaK++o6snHCzupTB8Um9C2K3H3M4Wopdtw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rm3F3NGNDoU8A/btvZp/urKtexqBZJdd/XWgdW0cauBn9DczrAAIF5fPBiCFS8GYU fIwy97OckSXzEsC9PpcFKvRwOEMs8MQaxyEUPhR1y3ky+XHrXXGrmnBEtYSK3xOCfV ECJ70ANWPHKG0EbKsL0matTusQxgtJKse21WoNS4= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 04/14] iio: sw-trigger: SPDX headers. Date: Sat, 22 Jun 2019 15:55:06 +0100 Message-Id: <20190622145516.3231-5-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron GPLv2, add SPDX headers and remove boilerplate. Signed-off-by: Jonathan Cameron --- drivers/iio/industrialio-sw-trigger.c | 5 +---- include/linux/iio/sw_trigger.h | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/iio/industrialio-sw-trigger.c b/drivers/iio/industrialio-sw-trigger.c index bc6b7fb43e3a..b8fcb4cd06f1 100644 --- a/drivers/iio/industrialio-sw-trigger.c +++ b/drivers/iio/industrialio-sw-trigger.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * The Industrial I/O core, software trigger functions * * Copyright (c) 2015 Intel Corporation - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #include diff --git a/include/linux/iio/sw_trigger.h b/include/linux/iio/sw_trigger.h index 0c43738a9e24..c8b9868b5e62 100644 --- a/include/linux/iio/sw_trigger.h +++ b/include/linux/iio/sw_trigger.h @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Industrial I/O software trigger interface * * Copyright (c) 2015 Intel Corporation - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #ifndef __IIO_SW_TRIGGER From patchwork Sat Jun 22 14:55:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011317 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3526D76 for ; Sat, 22 Jun 2019 14:57:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25DDF28ADC for ; Sat, 22 Jun 2019 14:57:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A64128B97; Sat, 22 Jun 2019 14:57:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C02E828ADC for ; Sat, 22 Jun 2019 14:57:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726312AbfFVO5y (ORCPT ); Sat, 22 Jun 2019 10:57:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:58228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO5y (ORCPT ); Sat, 22 Jun 2019 10:57:54 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 40E302084E; Sat, 22 Jun 2019 14:57:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215473; bh=1SWcOBbMn6qx5/OxmB+Dc1o42dx9RsUNKRAaGLcXHu0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nv7+kz1lhvUGFVD1zoltUVKrX/2AC+EjmgammiZQdpGFjAgTtd3Qx3XM9L3prV4pq Z+HcUHb8lk1klMzYxh530kkSnhXb8I/xUq2asMG8Dgm85fmcYu1XtZuOw1FiFZfViV LwIGmMahxw4V48mh7crljS31D2IkDsb1018UpkKU= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 05/14] iio: triggered-event: Add SPDX and fix header license to match the code. Date: Sat, 22 Jun 2019 15:55:07 +0100 Message-Id: <20190622145516.3231-6-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron 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 --- drivers/iio/industrialio-triggered-event.c | 6 +----- include/linux/iio/triggered_event.h | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) 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 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_ From patchwork Sat Jun 22 14:55:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011319 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7C39976 for ; Sat, 22 Jun 2019 14:57:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DAD028ADC for ; Sat, 22 Jun 2019 14:57:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6227E28B97; Sat, 22 Jun 2019 14:57:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 568CD28ADC for ; Sat, 22 Jun 2019 14:57:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726313AbfFVO54 (ORCPT ); Sat, 22 Jun 2019 10:57:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:58258 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO5z (ORCPT ); Sat, 22 Jun 2019 10:57:55 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E758E2087F; Sat, 22 Jun 2019 14:57:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215475; bh=jsekFiH5uXWJl+OE0CYyg4F+9qQB9mAzShFEHGVUQaY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yy2IJYvr0CncgSPFqnRXouTjd1Gxiou9rax3UpEDaTqKMrFUlik7+Ni1GjAaoV640 stMPDHkNkydvpPLSQ/+AI0KBvpJyH/zFjeVeCy+MjnM1YqtIEUxiS5PAu5aPJazCw/ XBQ/pEP5vAs84BW8EsMfft2LGbNnlpYGJdMZ/zFw= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 06/14] iio:buffer-dma: SPDX headers. Date: Sat, 22 Jun 2019 15:55:08 +0100 Message-Id: <20190622145516.3231-7-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron GPLv2 as clearly stated in prior headers. Signed-off-by: Jonathan Cameron --- drivers/iio/buffer/industrialio-buffer-dma.c | 3 +-- include/linux/iio/buffer-dma.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/iio/buffer/industrialio-buffer-dma.c b/drivers/iio/buffer/industrialio-buffer-dma.c index b32bf57910ca..debe0f6c44fb 100644 --- a/drivers/iio/buffer/industrialio-buffer-dma.c +++ b/drivers/iio/buffer/industrialio-buffer-dma.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright 2013-2015 Analog Devices Inc. * Author: Lars-Peter Clausen - * - * Licensed under the GPL-2. */ #include diff --git a/include/linux/iio/buffer-dma.h b/include/linux/iio/buffer-dma.h index 67c75372b691..b0fa722d0ccf 100644 --- a/include/linux/iio/buffer-dma.h +++ b/include/linux/iio/buffer-dma.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2013-2015 Analog Devices Inc. * Author: Lars-Peter Clausen - * - * Licensed under the GPL-2. */ #ifndef __INDUSTRIALIO_DMA_BUFFER_H__ From patchwork Sat Jun 22 14:55:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011321 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BA4D31398 for ; Sat, 22 Jun 2019 14:57:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A96A028ADC for ; Sat, 22 Jun 2019 14:57:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9DFC628B97; Sat, 22 Jun 2019 14:57:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46EEA28ADC for ; Sat, 22 Jun 2019 14:57:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726317AbfFVO56 (ORCPT ); Sat, 22 Jun 2019 10:57:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:58286 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO55 (ORCPT ); Sat, 22 Jun 2019 10:57:57 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 953232089C; Sat, 22 Jun 2019 14:57:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215476; bh=lb3BkFhjUonYFKMNhQz7op9ASdv0NGP/5KvOd4vk5Rs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ouvpHVJbvVp/GP0msSE22pi+Y/ULULpSfjALiEaRKoAXqqQdF6nEQ2DJLMq7vdkj/ gOT6ScG8gQPYA3ln1CrXgRQk4gMVB+UTeV2c991t5OUuY/VbBZ14czYcg93qX9iNpv 6PXkazAUCKMHqEnUY3qSn2LPmRMjmuCLwbx/e+FE= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 07/14] iio: buffer-cb: SPDX headers Date: Sat, 22 Jun 2019 15:55:09 +0100 Message-Id: <20190622145516.3231-8-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron Another simple GPL v2 only. Signed-off-by: Jonathan Cameron --- drivers/iio/buffer/industrialio-buffer-cb.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/iio/buffer/industrialio-buffer-cb.c b/drivers/iio/buffer/industrialio-buffer-cb.c index df21e7dbec40..1628ba36515c 100644 --- a/drivers/iio/buffer/industrialio-buffer-cb.c +++ b/drivers/iio/buffer/industrialio-buffer-cb.c @@ -1,8 +1,6 @@ -/* The industrial I/O callback buffer - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. +// SPDX-License-Identifier: GPL-2.0 +/* + * The industrial I/O callback buffer */ #include From patchwork Sat Jun 22 14:55:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011323 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E0A4C1398 for ; Sat, 22 Jun 2019 14:57:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1FD128ADC for ; Sat, 22 Jun 2019 14:57:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C67EA28B97; Sat, 22 Jun 2019 14:57:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7D17E28ADC for ; Sat, 22 Jun 2019 14:57:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726320AbfFVO57 (ORCPT ); Sat, 22 Jun 2019 10:57:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:58306 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO56 (ORCPT ); Sat, 22 Jun 2019 10:57:58 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 474312089E; Sat, 22 Jun 2019 14:57:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215478; bh=8GrcL+W1O0TnMyKu7ePiSV4Zne+c0AZUYut8NHcW1O4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wKbfc0P3nbbsCkOzVzqj49L58cThGdG+nfu9E4qdkEtFLK2/hXq3i/JF01AXDYLS3 Wp463N5ctAQisuUXhz42iU6tUXXo/4/rGW27MeACIGug/+IpoLot9R3iypARdutF7Z yQM6dmOsQOChxUxnVgmPmM+HafrkwoEXe0IpLy8g= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 08/14] iio: kfifo-buf: Add SPDX header Date: Sat, 22 Jun 2019 15:55:10 +0100 Message-Id: <20190622145516.3231-9-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron Previously no license header, but there is a MODULE_LICENSE so match that with GPL-2.0+ Header was filled with default GPL-2.0 so update fix that as well. Signed-off-by: Jonathan Cameron --- drivers/iio/buffer/kfifo_buf.c | 1 + include/linux/iio/kfifo_buf.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iio/buffer/kfifo_buf.c b/drivers/iio/buffer/kfifo_buf.c index 70c302a93d7f..041a8d0b9aac 100644 --- a/drivers/iio/buffer/kfifo_buf.c +++ b/drivers/iio/buffer/kfifo_buf.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ #include #include #include diff --git a/include/linux/iio/kfifo_buf.h b/include/linux/iio/kfifo_buf.h index 764659e01b68..4611bbcc37c3 100644 --- a/include/linux/iio/kfifo_buf.h +++ b/include/linux/iio/kfifo_buf.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __LINUX_IIO_KFIFO_BUF_H__ #define __LINUX_IIO_KFIFO_BUF_H__ From patchwork Sat Jun 22 14:55:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011325 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B6CA876 for ; Sat, 22 Jun 2019 14:58:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A6C8B28ADC for ; Sat, 22 Jun 2019 14:58:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B37628B97; Sat, 22 Jun 2019 14:58:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E6B728ADC for ; Sat, 22 Jun 2019 14:58:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726328AbfFVO6A (ORCPT ); Sat, 22 Jun 2019 10:58:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:58326 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO6A (ORCPT ); Sat, 22 Jun 2019 10:58:00 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 07037208C3; Sat, 22 Jun 2019 14:57:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215480; bh=6ONcomDlYjJApHPD4hTDvu0t0LcRkKO5jTYgIbLvoyw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o+Q93BBZR77rMWaudQGjRZp4AtgwK37g1KwcWNxO4lmBrOdeazhAPXBMWk8/JzyCf QW7Qw3vPuDpaSqL9Ct0uLM60Fm3qoPm2XsD9IvKByE3ovIeSUufVMapiwNUaeUUv/c hk3hU1y9szd57YUHUaubyPyWgpPE6ih0Q7tDyWHg= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 09/14] iio: buffer-dmaengine: SPDX GPL-2.0+ Date: Sat, 22 Jun 2019 15:55:11 +0100 Message-Id: <20190622145516.3231-10-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron Clearly stated in existing headers so just convert to SDPX. Signed-off-by: Jonathan Cameron --- drivers/iio/buffer/industrialio-buffer-dmaengine.c | 3 +-- include/linux/iio/buffer-dmaengine.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/iio/buffer/industrialio-buffer-dmaengine.c b/drivers/iio/buffer/industrialio-buffer-dmaengine.c index 2b5a320f42c5..9a0a02e89e9b 100644 --- a/drivers/iio/buffer/industrialio-buffer-dmaengine.c +++ b/drivers/iio/buffer/industrialio-buffer-dmaengine.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2014-2015 Analog Devices Inc. * Author: Lars-Peter Clausen - * - * Licensed under the GPL-2 or later. */ #include diff --git a/include/linux/iio/buffer-dmaengine.h b/include/linux/iio/buffer-dmaengine.h index 5dcddf427bb0..c7dbcd359213 100644 --- a/include/linux/iio/buffer-dmaengine.h +++ b/include/linux/iio/buffer-dmaengine.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2014-2015 Analog Devices Inc. * Author: Lars-Peter Clausen - * - * Licensed under the GPL-2 or later. */ #ifndef __IIO_DMAENGINE_H__ From patchwork Sat Jun 22 14:55:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011327 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 019B61398 for ; Sat, 22 Jun 2019 14:58:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E604628ADC for ; Sat, 22 Jun 2019 14:58:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA57228B97; Sat, 22 Jun 2019 14:58:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85CB828ADC for ; Sat, 22 Jun 2019 14:58:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726333AbfFVO6D (ORCPT ); Sat, 22 Jun 2019 10:58:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:58366 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO6D (ORCPT ); Sat, 22 Jun 2019 10:58:03 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B3089208CA; Sat, 22 Jun 2019 14:58:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215482; bh=+zgqrw0ByGWaHhZpsJe8f0namex8Ygb1+BOHzEh3KXo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dDWKolDUhzGDP8Syg/sqGJetXuEvT4+h2FHphLqeWl7olmCEs1NbuXVjih3fsnAKb LFEVDnO0buP4W8spRXppOVPBci2nQFyeozFkDtbQzUMZfLqWdISzMk8ifVQFpqZv9Y 0Uwemr5JAkJTX2qCSnF7K+6CNkmvODTapGRx+D88= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 10/14] iio: triggered-buffer: SPDX + fix MODULE_LICENSE to GPLv2 Date: Sat, 22 Jun 2019 15:55:12 +0100 Message-Id: <20190622145516.3231-11-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron The licensing was inconsistent for this module, so gone with the clearly stated header text which had no "or later" element. Signed-off-by: Jonathan Cameron --- drivers/iio/buffer/industrialio-triggered-buffer.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/iio/buffer/industrialio-triggered-buffer.c b/drivers/iio/buffer/industrialio-triggered-buffer.c index d3db1fce54d2..0c413012f8e1 100644 --- a/drivers/iio/buffer/industrialio-triggered-buffer.c +++ b/drivers/iio/buffer/industrialio-triggered-buffer.c @@ -1,10 +1,7 @@ - /* +// SPDX-License-Identifier: GPL-2.0 +/* * Copyright (c) 2012 Analog Devices, Inc. * Author: Lars-Peter Clausen - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #include @@ -142,4 +139,4 @@ EXPORT_SYMBOL_GPL(devm_iio_triggered_buffer_cleanup); MODULE_AUTHOR("Lars-Peter Clausen "); MODULE_DESCRIPTION("IIO helper functions for setting up triggered buffers"); -MODULE_LICENSE("GPL"); +MODULE_LICENSE("GPL v2"); From patchwork Sat Jun 22 14:55:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011329 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5A5011398 for ; Sat, 22 Jun 2019 14:58:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4BB4428ADC for ; Sat, 22 Jun 2019 14:58:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FF6828B97; Sat, 22 Jun 2019 14:58:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA50128ADC for ; Sat, 22 Jun 2019 14:58:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726334AbfFVO6E (ORCPT ); Sat, 22 Jun 2019 10:58:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:58386 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO6E (ORCPT ); Sat, 22 Jun 2019 10:58:04 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6682921530; Sat, 22 Jun 2019 14:58:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215483; bh=lWr+qgY2bqw09CknvI0TC2xVymW8qRn5ItvfrVUlWEI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UwZK2s9gCQH1/FVP+FuXc2E381pSILkt1Rn8ATmqDd85sEoSu5zaodbibJ0foZhMC xbC+gXDjSsx1aJCvHY0BONhPi8ai+lISKneaSu3SWqiQMgL3BEjXm23vravd9Zbmsz sjx1vXM1MZ+cSzXkuLgfMPKxWjlgnupujoJgLp/E= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 11/14] iio: trig-hrtimer: SPDX header GPLv2 Date: Sat, 22 Jun 2019 15:55:13 +0100 Message-Id: <20190622145516.3231-12-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron Clearly stated license text so simple conversion. Signed-off-by: Jonathan Cameron Cc: Daniel Baluta --- drivers/iio/trigger/iio-trig-hrtimer.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/iio/trigger/iio-trig-hrtimer.c b/drivers/iio/trigger/iio-trig-hrtimer.c index 7accd0187ba1..14cfb4074f64 100644 --- a/drivers/iio/trigger/iio-trig-hrtimer.c +++ b/drivers/iio/trigger/iio-trig-hrtimer.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * The industrial I/O periodic hrtimer trigger driver * @@ -6,11 +7,6 @@ * Copyright (C) 2012, Analog Device Inc. * Author: Lars-Peter Clausen * Copyright (C) 2015, Intel Corporation - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. - * */ #include #include From patchwork Sat Jun 22 14:55:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011331 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DD33876 for ; Sat, 22 Jun 2019 14:58:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDD4428ADC for ; Sat, 22 Jun 2019 14:58:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C263B28B97; Sat, 22 Jun 2019 14:58:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7918728ADC for ; Sat, 22 Jun 2019 14:58:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726338AbfFVO6G (ORCPT ); Sat, 22 Jun 2019 10:58:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:58414 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO6G (ORCPT ); Sat, 22 Jun 2019 10:58:06 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1553D21537; Sat, 22 Jun 2019 14:58:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215485; bh=DDFDTJyUWmOA0QtND0Vv3nf8XAl55ls9cPplia8c4kQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yHNAwLnod9OnwhkoW7/LAq1JSJu6Z7s8XxHCiDAUShWW/Y6H5ONIPphg9xtJYpP2X Q+Qx/XaTDenl7XoL6ssQo0JxW3PX1TPdA+9s5EEAuUz8U0VjlgUyQxmdT34f5m5Lb/ g0fpOhtWpwqDcDPPY4CLS3ph9LWvvnBe7g/skR+I= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 12/14] iio: trig-interrupt: SPDX headers. GPLv2 Date: Sat, 22 Jun 2019 15:55:14 +0100 Message-Id: <20190622145516.3231-13-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron Signed-off-by: Jonathan Cameron --- drivers/iio/trigger/iio-trig-interrupt.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/iio/trigger/iio-trig-interrupt.c b/drivers/iio/trigger/iio-trig-interrupt.c index 171c4ed03543..04c38fad6a28 100644 --- a/drivers/iio/trigger/iio-trig-interrupt.c +++ b/drivers/iio/trigger/iio-trig-interrupt.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Industrial I/O - generic interrupt based trigger support * * Copyright (c) 2008-2013 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. */ #include From patchwork Sat Jun 22 14:55:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011333 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D17CE1398 for ; Sat, 22 Jun 2019 14:58:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C259D28ADC for ; Sat, 22 Jun 2019 14:58:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B673328B97; Sat, 22 Jun 2019 14:58:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 574F928ADC for ; Sat, 22 Jun 2019 14:58:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726343AbfFVO6I (ORCPT ); Sat, 22 Jun 2019 10:58:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:58438 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO6H (ORCPT ); Sat, 22 Jun 2019 10:58:07 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BE1D620449; Sat, 22 Jun 2019 14:58:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215487; bh=ma521aPziR/549+zD9WcRdRXj15FLs+97juYXQ4D8nc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uzIiidZv+cjG5mZ6Cad78DFRliEOlFJV5agrWTc6YA8yNIHhQ4BpLmDVq0BPbILRu nvbobapHcHDwRQLEaNtb1yS0T+wtzvFErzTbllEY5JL6t4+cue6LJDVOSB/HuiwlEV lhCLiAMgMYFOIaE1q0jzr7ANAbvVM5UHrevCKA2Q= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron Subject: [PATCH 13/14] iio: trig-loop: SPDX headers GPL-v2 Date: Sat, 22 Jun 2019 15:55:15 +0100 Message-Id: <20190622145516.3231-14-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron Not exactly standard license text, but clear in intent and it's my copyright anyway. Signed-off-by: Jonathan Cameron --- drivers/iio/trigger/iio-trig-loop.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/iio/trigger/iio-trig-loop.c b/drivers/iio/trigger/iio-trig-loop.c index 9258d3cf149b..f0205a9e47d0 100644 --- a/drivers/iio/trigger/iio-trig-loop.c +++ b/drivers/iio/trigger/iio-trig-loop.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright 2016 Jonathan Cameron * - * Licensed under the GPL-2. - * * Based on a mashup of the hrtimer trigger and continuous sampling proposal of * Gregor Boirie * From patchwork Sat Jun 22 14:55:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11011335 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B19C61398 for ; Sat, 22 Jun 2019 14:58:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A21ED28ADC for ; Sat, 22 Jun 2019 14:58:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 96B3E28B97; Sat, 22 Jun 2019 14:58:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4DF4828ADC for ; Sat, 22 Jun 2019 14:58:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726353AbfFVO6K (ORCPT ); Sat, 22 Jun 2019 10:58:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:58470 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfFVO6J (ORCPT ); Sat, 22 Jun 2019 10:58:09 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7402D20679; Sat, 22 Jun 2019 14:58:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561215488; bh=B7gaKBtXY6xesDpsBvhwAip7oC9hcecNUNu2zUCzMA4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C54mVsj0Iqx9O+h0veJknbmIju1mTeDDk0LhXGZN8O3pS/iwYed6PHAgUiAGx2StM oRwaLa8sSZPgvin9PaHDak3JQtwoyZcmFCukxVrs9JgsXLW8yxaQ4M2iX1Aj1zYhCI vbJmJzv6WMY6QUViL6+SOT297Nh9SgWGAjjaCQqk= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Daniel Baluta , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald-Stadler , Jonathan Cameron , Michael Hennerich Subject: [PATCH 14/14] iio: trig-sysfs: SPDX headers GPLv2. Date: Sat, 22 Jun 2019 15:55:16 +0100 Message-Id: <20190622145516.3231-15-jic23@kernel.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190622145516.3231-1-jic23@kernel.org> References: <20190622145516.3231-1-jic23@kernel.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Cameron Non standard but clear statement of intent. Signed-off-by: Jonathan Cameron Cc: Michael Hennerich --- drivers/iio/trigger/iio-trig-sysfs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/iio/trigger/iio-trig-sysfs.c b/drivers/iio/trigger/iio-trig-sysfs.c index 45c4897295d6..c86a78baeba4 100644 --- a/drivers/iio/trigger/iio-trig-sysfs.c +++ b/drivers/iio/trigger/iio-trig-sysfs.c @@ -1,8 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright 2011 Analog Devices Inc. - * - * Licensed under the GPL-2. - * */ #include