Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752495AbdLGVZm (ORCPT ); Thu, 7 Dec 2017 16:25:42 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:46805 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752425AbdLGVZi (ORCPT ); Thu, 7 Dec 2017 16:25:38 -0500 X-Google-Smtp-Source: AGs4zMaGS8qFQsy4AumccCfKcGfpQ85bD8vtnQVg0RaW9839j5bg2SNqRy8/gAdvx5SRyDv0yqC18/yViM6wxcuBl4E= MIME-Version: 1.0 In-Reply-To: <20171207210849.25183-1-peda@axentia.se> References: <20171207210849.25183-1-peda@axentia.se> From: Philippe Ombredanne Date: Thu, 7 Dec 2017 22:24:56 +0100 Message-ID: Subject: Re: [PATCH] mux: add SPDX identifiers to all mux source files To: Peter Rosin Cc: Philipp Zabel , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5355 Lines: 169 On Thu, Dec 7, 2017 at 10:08 PM, Peter Rosin wrote: > Remove all free-text license texts. > > This is done on a quest to remove the 700+ different ways that files in > the kernel describe the GPL license text. > > No copyright headers or other non-license-description text was removed. > > Signed-off-by: Peter Rosin > --- > > Hi Philipp, > > I assume this is ok with you for the mmio file, but asking just in case... > > Cheers, > Peter > > drivers/mux/Kconfig | 1 + > drivers/mux/Makefile | 1 + > drivers/mux/adg792a.c | 5 +---- > drivers/mux/core.c | 5 +---- > drivers/mux/gpio.c | 5 +---- > drivers/mux/mmio.c | 5 +---- > include/linux/mux/consumer.h | 5 +---- > include/linux/mux/driver.h | 5 +---- > 8 files changed, 8 insertions(+), 24 deletions(-) > > diff --git a/drivers/mux/Kconfig b/drivers/mux/Kconfig > index 19e4e904c9bf..6241678e99af 100644 > --- a/drivers/mux/Kconfig > +++ b/drivers/mux/Kconfig > @@ -1,3 +1,4 @@ > +# SPDX-License-Identifier: GPL-2.0 > # > # Multiplexer devices > # > diff --git a/drivers/mux/Makefile b/drivers/mux/Makefile > index 0e1e59760e3f..c3d883955fd5 100644 > --- a/drivers/mux/Makefile > +++ b/drivers/mux/Makefile > @@ -1,3 +1,4 @@ > +# SPDX-License-Identifier: GPL-2.0 > # > # Makefile for multiplexer devices. > # > diff --git a/drivers/mux/adg792a.c b/drivers/mux/adg792a.c > index 12aa221ab90d..6a8725cf3d71 100644 > --- a/drivers/mux/adg792a.c > +++ b/drivers/mux/adg792a.c > @@ -1,13 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0 > /* > * Multiplexer driver for Analog Devices ADG792A/G Triple 4:1 mux > * > * Copyright (C) 2017 Axentia Technologies AB > * > * Author: Peter Rosin > - * > - * 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/mux/core.c b/drivers/mux/core.c > index 2260063b0ea8..959d22aaa063 100644 > --- a/drivers/mux/core.c > +++ b/drivers/mux/core.c > @@ -1,13 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0 > /* > * Multiplexer subsystem > * > * Copyright (C) 2017 Axentia Technologies AB > * > * Author: Peter Rosin > - * > - * 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. > */ > > #define pr_fmt(fmt) "mux-core: " fmt > diff --git a/drivers/mux/gpio.c b/drivers/mux/gpio.c > index 468bf1709606..6fdd9316db8b 100644 > --- a/drivers/mux/gpio.c > +++ b/drivers/mux/gpio.c > @@ -1,13 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0 > /* > * GPIO-controlled multiplexer driver > * > * Copyright (C) 2017 Axentia Technologies AB > * > * Author: Peter Rosin > - * > - * 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/mux/mmio.c b/drivers/mux/mmio.c > index 37c1de359a70..935ac44aa209 100644 > --- a/drivers/mux/mmio.c > +++ b/drivers/mux/mmio.c > @@ -1,11 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0 > /* > * MMIO register bitfield-controlled multiplexer driver > * > * Copyright (C) 2017 Pengutronix, Philipp Zabel > - * > - * 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/mux/consumer.h b/include/linux/mux/consumer.h > index ea96d4c82be7..5fc6bb2fefad 100644 > --- a/include/linux/mux/consumer.h > +++ b/include/linux/mux/consumer.h > @@ -1,13 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > /* > * mux/consumer.h - definitions for the multiplexer consumer interface > * > * Copyright (C) 2017 Axentia Technologies AB > * > * Author: Peter Rosin > - * > - * 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_MUX_CONSUMER_H > diff --git a/include/linux/mux/driver.h b/include/linux/mux/driver.h > index 35c3579c3304..627a2c6bc02d 100644 > --- a/include/linux/mux/driver.h > +++ b/include/linux/mux/driver.h > @@ -1,13 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > /* > * mux/driver.h - definitions for the multiplexer driver interface > * > * Copyright (C) 2017 Axentia Technologies AB > * > * Author: Peter Rosin > - * > - * 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_MUX_DRIVER_H > -- > 2.11.0 > Thank you very much for this! FWIW, feel free to add: Reviewed-by: Philippe Ombredanne -- Cordially Philippe Ombredanne, your friendly kernel licenses scruffy