Re: [PATCH 1/2] mtd: onenand: Get rid of comments giving the file path inside the file itself

Boris Brezillon
2018-03-18T21:12:57Z

On Sun, 18 Feb 2018 17:05:15 +0100
Boris Brezillon <boris.brezillon@bootlin.com> wrote:

> Some files add a comment giving the path of the file inside the Linux
> tree, which is pretty useless since the reader had to find the file to
> open it.
>
> Getting rid of these comments will also allow us to easily move these
> files around when needed.
>
> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>

Queued both patches to nand/next.

> ---
> drivers/mtd/onenand/generic.c | 2 --
> drivers/mtd/onenand/omap2.c | 2 --
> drivers/mtd/onenand/onenand_base.c | 2 --
> drivers/mtd/onenand/onenand_bbt.c | 2 --
> 4 files changed, 8 deletions(-)
>
> diff --git a/drivers/mtd/onenand/generic.c b/drivers/mtd/onenand/generic.c
> index 125da34d8ff9..d5ccaf943b91 100644
> --- a/drivers/mtd/onenand/generic.c
> +++ b/drivers/mtd/onenand/generic.c
> @@ -1,6 +1,4 @@
> /*
> - * linux/drivers/mtd/onenand/generic.c
> - *
> * Copyright (c) 2005 Samsung Electronics
> * Kyungmin Park <kyungmin.park@samsung.com>
> *
> diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c
> index 87c34f607a75..9c159f0dd9a6 100644
> --- a/drivers/mtd/onenand/omap2.c
> +++ b/drivers/mtd/onenand/omap2.c
> @@ -1,6 +1,4 @@
> /*
> - * linux/drivers/mtd/onenand/omap2.c
> - *
> * OneNAND driver for OMAP2 / OMAP3
> *
> * Copyright © 2005-2006 Nokia Corporation
> diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
> index 979f4031f23c..05907b1b4098 100644
> --- a/drivers/mtd/onenand/onenand_base.c
> +++ b/drivers/mtd/onenand/onenand_base.c
> @@ -1,6 +1,4 @@
> /*
> - * linux/drivers/mtd/onenand/onenand_base.c
> - *
> * Copyright © 2005-2009 Samsung Electronics
> * Copyright © 2007 Nokia Corporation
> *
> diff --git a/drivers/mtd/onenand/onenand_bbt.c b/drivers/mtd/onenand/onenand_bbt.c
> index 420260c25ca0..dde20487937d 100644
> --- a/drivers/mtd/onenand/onenand_bbt.c
> +++ b/drivers/mtd/onenand/onenand_bbt.c
> @@ -1,7 +1,5 @@
> // SPDX-License-Identifier: GPL-2.0
> /*
> - * linux/drivers/mtd/onenand/onenand_bbt.c
> - *
> * Bad Block Table support for the OneNAND driver
> *
> * Copyright(c) 2005 Samsung Electronics

--
Boris Brezillon, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering