From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752773AbdLERXl (ORCPT ); Tue, 5 Dec 2017 12:23:41 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:44260 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751288AbdLERXk (ORCPT ); Tue, 5 Dec 2017 12:23:40 -0500 X-Google-Smtp-Source: AGs4zMam/JSkqLCT6HQISdIILAnVAusCwCSPYr2xBQVrYO3TI3Q0TkQJr96xotzK+TM4q8j8e8eh+A== Date: Tue, 5 Dec 2017 09:23:37 -0800 From: Guenter Roeck To: benjamin.gaignard@linaro.org Cc: lee.jones@linaro.org, alexandre.torgue@st.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Benjamin Gaignard Subject: Re: [v2] mfd: stm32: Adopt SPDX identifier Message-ID: <20171205172337.GA24480@roeck-us.net> References: <20171205152418.28104-1-benjamin.gaignard@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171205152418.28104-1-benjamin.gaignard@st.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 05, 2017 at 04:24:18PM +0100, benjamin.gaignard@linaro.org wrote: > Add SPDX identifier > > Signed-off-by: Benjamin Gaignard > --- > drivers/mfd/stm32-lptimer.c | 6 +----- > drivers/mfd/stm32-timers.c | 4 +--- > include/linux/mfd/stm32-lptimer.h | 6 +----- > include/linux/mfd/stm32-timers.h | 4 +--- > 4 files changed, 4 insertions(+), 16 deletions(-) > > diff --git a/drivers/mfd/stm32-lptimer.c b/drivers/mfd/stm32-lptimer.c > index 075330a25f61..a00f99f36559 100644 > --- a/drivers/mfd/stm32-lptimer.c > +++ b/drivers/mfd/stm32-lptimer.c > @@ -1,13 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0 > /* I have been wondering - why is the SPDX identifier for the most part added as separate C++ comment at the beginning of the file, and not inline with the rest of the top comments ? SPDX doesn't mandate this - the examples I can find on the SPDX web site all show it inline. Is there a special Linux kernel convention ? Thanks, Guenter > * STM32 Low-Power Timer parent driver. > - * > * Copyright (C) STMicroelectronics 2017 > - * > * Author: Fabrice Gasnier > - * > * Inspired by Benjamin Gaignard's stm32-timers driver > - * > - * License terms: GNU General Public License (GPL), version 2 > */ > > #include > diff --git a/drivers/mfd/stm32-timers.c b/drivers/mfd/stm32-timers.c > index a6675a449409..1d347e5dfa79 100644 > --- a/drivers/mfd/stm32-timers.c > +++ b/drivers/mfd/stm32-timers.c > @@ -1,9 +1,7 @@ > +// SPDX-License-Identifier: GPL-2.0 > /* > * Copyright (C) STMicroelectronics 2016 > - * > * Author: Benjamin Gaignard > - * > - * License terms: GNU General Public License (GPL), version 2 > */ > > #include > diff --git a/include/linux/mfd/stm32-lptimer.h b/include/linux/mfd/stm32-lptimer.h > index 77c7cf40d9b4..605f62264825 100644 > --- a/include/linux/mfd/stm32-lptimer.h > +++ b/include/linux/mfd/stm32-lptimer.h > @@ -1,13 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > /* > * STM32 Low-Power Timer parent driver. > - * > * Copyright (C) STMicroelectronics 2017 > - * > * Author: Fabrice Gasnier > - * > * Inspired by Benjamin Gaignard's stm32-timers driver > - * > - * License terms: GNU General Public License (GPL), version 2 > */ > > #ifndef _LINUX_STM32_LPTIMER_H_ > diff --git a/include/linux/mfd/stm32-timers.h b/include/linux/mfd/stm32-timers.h > index ce7346e7f77a..2aadab6f34a1 100644 > --- a/include/linux/mfd/stm32-timers.h > +++ b/include/linux/mfd/stm32-timers.h > @@ -1,9 +1,7 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > /* > * Copyright (C) STMicroelectronics 2016 > - * > * Author: Benjamin Gaignard > - * > - * License terms: GNU General Public License (GPL), version 2 > */ > > #ifndef _LINUX_STM32_GPTIMER_H_