From patchwork Tue Dec 5 14:55:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 120667 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5844442qgn; Tue, 5 Dec 2017 06:56:13 -0800 (PST) X-Google-Smtp-Source: AGs4zMaXQWVFjiEU3vL70Ia3CfXzC4ChBHXFhozyNOgcmumfnk638TetD/d/NSxkZDvLisBG9CYz X-Received: by 10.98.200.20 with SMTP id z20mr23441694pff.108.1512485773661; Tue, 05 Dec 2017 06:56:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512485773; cv=none; d=google.com; s=arc-20160816; b=kDucjrgP5SzkF5zBJtqOucWHlX34IDHkKfvMqtwTVcP25Jv5JN1fo/g0df1mv4OPuk v+qnfhvo6FbmwuNmcLUJgxsDRflPPe9fpLusGQF/R+zhzeCxbNZOj4TaVEu0mDPj4eBr 3sB9GAYPiLqT6LUA6oRkjCBrwl8fKSVIxPuKHPFMXL3uL2TdhHhBdZiGCBC6/kJQV1r2 euq5dzVQiq2DEO6M916BGZbCzUv8pqmeIAwWpY1tNv1Cd+rxI/+oCqpog4f4xmskNjJx AJC4r3MinvLUh8nPpPb1s3PjFpqtJht8NmrpM4FpxYMkzFqtIhRQClKXGI93z7ZfqaJO 9G9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=0NrGKDUJ40Bx48rahOlvVt8IkVCs3iHcaoTNlIjNk8o=; b=rchd3isH83I0En3e70H56EfcVfMCWLyhFG3qepqE5Y1o0sO9kcHklgJv15dlQGBa7M hOuPYdQm7yAjYBW1NEz0124S2/GaKmf1ufk5SpIUaxwP+7kiZnp13Ys2GzZ+lfSt/REs +1ndQCYXY9LNR+SiKdnls3JVDlzLXrDvhdV9arPMmgsNPoFS7X5CMKDZxR2h3mrm/DCo tLTERhuHC6GAYyQUt3mxZgPkvgQg7URO0PYWjjtNgB1TSQR2FvPqeEhk5Gs0K4PStVFp BulUQ0fg5emSutWh1IWSmwX4tGaisXDh0q4ca8bXStJYeJtytXD9MPM2GXC75L4rIR06 VQRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YoY4HQpu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t11si167320pgp.727.2017.12.05.06.56.13; Tue, 05 Dec 2017 06:56:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YoY4HQpu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752649AbdLEO4L (ORCPT + 28 others); Tue, 5 Dec 2017 09:56:11 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:40111 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752219AbdLEO4G (ORCPT ); Tue, 5 Dec 2017 09:56:06 -0500 Received: by mail-wr0-f193.google.com with SMTP id q9so587217wre.7 for ; Tue, 05 Dec 2017 06:56:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=0NrGKDUJ40Bx48rahOlvVt8IkVCs3iHcaoTNlIjNk8o=; b=YoY4HQpuUZFFpgXYFbEYkAOiGKzKySEAMzGIKKpqm6nuk5OGgP6D5UfI9XXH+5whF8 B5QqrmUxjdLfHoVn3MzbHEycMGumTKzAHsdE8/GMp/ogqhKT9qvJVYVM2KzQmfBnrj79 dgxUwpuR0QuVjqqT8axPs3FCqPHMfEr07cLbQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0NrGKDUJ40Bx48rahOlvVt8IkVCs3iHcaoTNlIjNk8o=; b=LmEQ6YK2ATkmUSRdJjng07ELKBbCFPOuO3u+qqaf25c/9goKlgLpdlNqlCRbvEqCK3 Yg1O0VGArvNRqm4uz/Muuxehyl9BIjpY/6b0sa12VOmZSMksF+6Ua6dRZ1YTvHfQBkaX VvyZMZLce3LK+81v4hnrZ1d8icZ1+W0kSard1EILOOEueQfapL/DzLWN1uncrpslzLft IYyRHfMPct8MMDLFZ16T7pnuIxAdJwyNZgXnS2u1a/uXPM0ua5EikhGncy2RuXGKlYgH 8x1B3ybty7M1DCN2SOwH0ENI58h+gff5fyoAWj7FAtRHe+Lzbw9rsJCLR9df9k14drqA eQfA== X-Gm-Message-State: AJaThX6eAlKPZIKbCeZH6aSm3TnFOWyj4fnF891nfRimUipJVyqdCCkc jXSUfBza+10KV16pIL+o858zOQ== X-Received: by 10.223.135.250 with SMTP id c55mr16307467wrc.183.1512485765464; Tue, 05 Dec 2017 06:56:05 -0800 (PST) Received: from lmecxl0911.lme.st.com ([80.214.71.149]) by smtp.gmail.com with ESMTPSA id b206sm654012wme.11.2017.12.05.06.56.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Dec 2017 06:56:05 -0800 (PST) From: Benjamin Gaignard X-Google-Original-From: Benjamin Gaignard To: jic23@kernel.org, alexandre.torgue@st.com, fabrice.gasnier@st.com Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Benjamin Gaignard Subject: [PATCH] iio: stm32: Adopt SPDX identifier Date: Tue, 5 Dec 2017 15:55:59 +0100 Message-Id: <20171205145559.20294-1-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add SPDX identifier in stm32's files in IIO directory Signed-off-by: Benjamin Gaignard --- drivers/iio/adc/stm32-adc-core.c | 14 +------------- drivers/iio/adc/stm32-adc-core.h | 14 +------------- drivers/iio/adc/stm32-adc.c | 15 +-------------- drivers/iio/counter/stm32-lptimer-cnt.c | 2 +- drivers/iio/dac/stm32-dac-core.c | 14 +------------- drivers/iio/dac/stm32-dac-core.h | 15 +-------------- drivers/iio/dac/stm32-dac.c | 15 +-------------- drivers/iio/trigger/stm32-lptimer-trigger.c | 3 +-- drivers/iio/trigger/stm32-timer-trigger.c | 2 +- 9 files changed, 9 insertions(+), 85 deletions(-) -- 2.15.0 Acked-by: Fabrice Gasnier Acked-by: Philippe Ombredanne Acked-by: Philippe Ombredanne diff --git a/drivers/iio/adc/stm32-adc-core.c b/drivers/iio/adc/stm32-adc-core.c index 6aefef99f935..40be7d9fadbf 100644 --- a/drivers/iio/adc/stm32-adc-core.c +++ b/drivers/iio/adc/stm32-adc-core.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * This file is part of STM32 ADC driver * @@ -6,19 +7,6 @@ * * Inspired from: fsl-imx25-tsadc * - * License type: GPLv2 - * - * 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. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . */ #include diff --git a/drivers/iio/adc/stm32-adc-core.h b/drivers/iio/adc/stm32-adc-core.h index 250ee958a669..8af507b3f32d 100644 --- a/drivers/iio/adc/stm32-adc-core.h +++ b/drivers/iio/adc/stm32-adc-core.h @@ -1,22 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * This file is part of STM32 ADC driver * * Copyright (C) 2016, STMicroelectronics - All Rights Reserved * Author: Fabrice Gasnier . * - * License type: GPLv2 - * - * 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. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . */ #ifndef __STM32_ADC_H diff --git a/drivers/iio/adc/stm32-adc.c b/drivers/iio/adc/stm32-adc.c index c9d96f935dba..f9ccd705bcbb 100644 --- a/drivers/iio/adc/stm32-adc.c +++ b/drivers/iio/adc/stm32-adc.c @@ -1,22 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * This file is part of STM32 ADC driver * * Copyright (C) 2016, STMicroelectronics - All Rights Reserved * Author: Fabrice Gasnier . - * - * License type: GPLv2 - * - * 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. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . */ #include diff --git a/drivers/iio/counter/stm32-lptimer-cnt.c b/drivers/iio/counter/stm32-lptimer-cnt.c index 81ae5f74216d..42fb8ba67090 100644 --- a/drivers/iio/counter/stm32-lptimer-cnt.c +++ b/drivers/iio/counter/stm32-lptimer-cnt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * STM32 Low-Power Timer Encoder and Counter driver * @@ -7,7 +8,6 @@ * * Inspired by 104-quad-8 and stm32-timer-trigger drivers. * - * License terms: GNU General Public License (GPL), version 2 */ #include diff --git a/drivers/iio/dac/stm32-dac-core.c b/drivers/iio/dac/stm32-dac-core.c index 55026fe1c610..d0fb3124de07 100644 --- a/drivers/iio/dac/stm32-dac-core.c +++ b/drivers/iio/dac/stm32-dac-core.c @@ -1,22 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * This file is part of STM32 DAC driver * * Copyright (C) 2017, STMicroelectronics - All Rights Reserved * Author: Fabrice Gasnier . * - * License type: GPLv2 - * - * 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. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . */ #include diff --git a/drivers/iio/dac/stm32-dac-core.h b/drivers/iio/dac/stm32-dac-core.h index daf09931857c..d3b415fb9575 100644 --- a/drivers/iio/dac/stm32-dac-core.h +++ b/drivers/iio/dac/stm32-dac-core.h @@ -1,22 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * This file is part of STM32 DAC driver * * Copyright (C) 2017, STMicroelectronics - All Rights Reserved * Author: Fabrice Gasnier . - * - * License type: GPLv2 - * - * 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. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . */ #ifndef __STM32_DAC_CORE_H diff --git a/drivers/iio/dac/stm32-dac.c b/drivers/iio/dac/stm32-dac.c index 9ffab02bf9f9..cce26a3a6627 100644 --- a/drivers/iio/dac/stm32-dac.c +++ b/drivers/iio/dac/stm32-dac.c @@ -1,23 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * This file is part of STM32 DAC driver * * Copyright (C) 2017, STMicroelectronics - All Rights Reserved * Authors: Amelie Delaunay * Fabrice Gasnier - * - * License type: GPLv2 - * - * 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. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . */ #include diff --git a/drivers/iio/trigger/stm32-lptimer-trigger.c b/drivers/iio/trigger/stm32-lptimer-trigger.c index de361d879929..98cdc7e47f3d 100644 --- a/drivers/iio/trigger/stm32-lptimer-trigger.c +++ b/drivers/iio/trigger/stm32-lptimer-trigger.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * STM32 Low-Power Timer Trigger driver * @@ -5,8 +6,6 @@ * * Author: Fabrice Gasnier . * - * License terms: GNU General Public License (GPL), version 2 - * * Inspired by Benjamin Gaignard's stm32-timer-trigger driver */ diff --git a/drivers/iio/trigger/stm32-timer-trigger.c b/drivers/iio/trigger/stm32-timer-trigger.c index b542dc484969..ccf1ce653b25 100644 --- a/drivers/iio/trigger/stm32-timer-trigger.c +++ b/drivers/iio/trigger/stm32-timer-trigger.c @@ -1,9 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) STMicroelectronics 2016 * * Author: Benjamin Gaignard * - * License terms: GNU General Public License (GPL), version 2 */ #include