From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbNX8-000707-JG for barebox@lists.infradead.org; Wed, 20 May 2020 12:09:16 +0000 Date: Wed, 20 May 2020 14:09:07 +0200 From: Sascha Hauer Message-ID: <20200520120907.GF11869@pengutronix.de> References: <20200519165208.3546-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200519165208.3546-1-u.kleine-koenig@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] pwm: Replace license and copyright boilerplate by SPDX identfiers To: Uwe =?iso-8859-15?Q?Kleine-K=F6nig?= Cc: barebox@lists.infradead.org, Ahmad Fatoum , Roland Hieber On Tue, May 19, 2020 at 06:52:07PM +0200, Uwe Kleine-K=F6nig wrote: > This adapts all files that were identifed by licensecheck > (https://salsa.debian.org/build-common-team/licensecheck.git) as > licensed under the GPL and that have a (IMHO) clear copyright statement. > = > The advantage is that these specifiers are machine-parseable which helps > license conformance, e.g. for packaging barebox in Debian. > = > Signed-off-by: Uwe Kleine-K=F6nig > --- > drivers/pwm/core.c | 15 +++------------ > drivers/pwm/pwm-mxs.c | 12 ++---------- > drivers/pwm/pxa_pwm.c | 6 ++---- > 3 files changed, 7 insertions(+), 26 deletions(-) Applied, thanks Sascha > = > diff --git a/drivers/pwm/core.c b/drivers/pwm/core.c > index 05dad93e5ce3..878f4d72bbf5 100644 > --- a/drivers/pwm/core.c > +++ b/drivers/pwm/core.c > @@ -1,17 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > +// SPDX-FileCopyrightText: 2011 Sascha Hauer > + > /* > * Generic pwmlib implementation > - * > - * Copyright (C) 2011 Sascha Hauer > - * > - * 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, or (at your option) > - * any later version. > - * > - * 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. > */ > #include > #include > diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c > index a06040ac3268..1e2db39def22 100644 > --- a/drivers/pwm/pwm-mxs.c > +++ b/drivers/pwm/pwm-mxs.c > @@ -1,13 +1,5 @@ > -/* > - * Copyright 2012 Freescale Semiconductor, Inc. > - * > - * The code contained herein is licensed under the GNU General Public > - * License. You may obtain a copy of the GNU General Public License > - * Version 2 or later at the following locations: > - * > - * http://www.opensource.org/licenses/gpl-license.html > - * http://www.gnu.org/copyleft/gpl.html > - */ > +// SPDX-License-Identifier: GPL-2.0-only > +// SPDX-FileCopyrightText: 2012 Freescale Semiconductor, Inc. > = > #include > #include > diff --git a/drivers/pwm/pxa_pwm.c b/drivers/pwm/pxa_pwm.c > index 78d1489d570f..dc8e41464b01 100644 > --- a/drivers/pwm/pxa_pwm.c > +++ b/drivers/pwm/pxa_pwm.c > @@ -1,10 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > + > /* > * simple driver for PWM (Pulse Width Modulator) controller > * > - * 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. > - * > * 2008-02-13 initial version eric miao > * 2012 Robert Jarzmik > */ > -- = > 2.26.2 > = > = > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox -- = Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox