]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: denali: use SPDX-License-Identifier and fix license mismatch
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 20 Aug 2018 03:26:36 +0000 (12:26 +0900)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 4 Sep 2018 21:37:40 +0000 (23:37 +0200)
commit73cf8640babc4dd2574f698e0b45a39ffb63f5c6
treee9e6605600e168784d0e39c40ddacfaa5f75ceae
parent83697daa0e9c0e1240147a3989340c4ddbd91662
mtd: rawnand: denali: use SPDX-License-Identifier and fix license mismatch

Use SPDX-License-Identifier instead of the license boilerplates.

This conversion makes it easier for us to scan the license, then
I notice license mismatch problems.

The license blocks in denali* indicate GPL-2.0 "only", while the
MODULE_LICENSE in denali.c and denali_dt.c is GPL-2.0 "or later"
as explained in include/linux/module.h as follows:

  "GPL"                           [GNU Public License v2 or later]
  "GPL v2"                        [GNU Public License v2]

I fixed the MODULE_LICENSE tags, assuming the license blocks are
the authors' intention.

Also, add missing MODULE_DESCRIPTION/AUTHOR to denali.c

While I am touching the license things, I added my credit to denali.c
because this driver was largely re-written by me in 2017.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/denali.c
drivers/mtd/nand/raw/denali.h
drivers/mtd/nand/raw/denali_dt.c
drivers/mtd/nand/raw/denali_pci.c