]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mtd: nand: Stop using full path when referring to files placed in the same dir
authorBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 5 Feb 2018 22:02:00 +0000 (23:02 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 16 Feb 2018 09:08:50 +0000 (10:08 +0100)
Some NAND drivers are derived from other NAND drivers and state it in
their license header. Using full path to point to other driver files
sitting in the same directory is not such a good idea, since the NAND
drivers might be moved to a different directory at some point, and we
don't to patch all license/copyright headers everytime this happen.

The only exception where we keep full path is when the referred source
files no longer exist in the tree.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/ams-delta.c
drivers/mtd/nand/bf5xx_nand.c
drivers/mtd/nand/mpc5121_nfc.c

index e15991d81a203d9681bc173b6df331233dc0e2d6..f3eaea9df90b44c31a0f4fb7fcd03628c8031c90 100644 (file)
@@ -3,7 +3,7 @@
  *
  *  Derived from drivers/mtd/toto.c
  *  Converted to platform driver by Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
- *  Partially stolen from drivers/mtd/nand/plat_nand.c
+ *  Partially stolen from plat_nand.c
  *
  * 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
index 4a5f56f76efd24d377885a90746127543bc86d66..9a1d8d10457077ec772fb0c6eac138c8f41302a6 100644 (file)
@@ -5,10 +5,10 @@
  *
  * Blackfin BF5xx on-chip NAND flash controller driver
  *
- * Derived from drivers/mtd/nand/s3c2410.c
+ * Derived from s3c2410.c
  * Copyright (c) 2007 Ben Dooks <ben@simtec.co.uk>
  *
- * Derived from drivers/mtd/nand/cafe.c
+ * Derived from cafe.c
  * Copyright © 2006 Red Hat, Inc.
  * Copyright © 2006 David Woodhouse <dwmw2@infradead.org>
  *
index b6b97cc9fba6966ec2efaa2dd40e6859ca4e2a51..913b9d1225c6fd439fbccce24f13d04ec565353b 100644 (file)
@@ -6,9 +6,8 @@
  * by OSADL membership fees in 2009;  for details see www.osadl.org.
  *
  * Based on original driver from Freescale Semiconductor
- * written by John Rigby <jrigby@freescale.com> on basis
- * of drivers/mtd/nand/mxc_nand.c. Reworked and extended
- * Piotr Ziecik <kosmo@semihalf.com>.
+ * written by John Rigby <jrigby@freescale.com> on basis of mxc_nand.c.
+ * Reworked and extended by Piotr Ziecik <kosmo@semihalf.com>.
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License