mtd: spi-nor: Add an SPDX tag to spi-nor.{c,h}
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 6 Dec 2018 10:41:20 +0000 (11:41 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 10 Dec 2018 20:59:08 +0000 (21:59 +0100)
commite9f3a2bcc3742960e28c8d37165406c6c55500b9
treea8c5642bffde57c8973788a7ba5fc08bac84654b
parenteb6ec1d79b40badeecea4194547ebd90dc560d5e
mtd: spi-nor: Add an SPDX tag to spi-nor.{c,h}

Add SPDX tags to replace the license boiler-plate and fix the
MODULE_LICENSE() definition in spi-nor.c to match the license text
(GPL v2).

Interestingly, spi-nor.h and spi-nor.c do not use the same license
(GPL v2+ for spi-nor.h, GPL v2 for spi-nor.c).

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
drivers/mtd/spi-nor/spi-nor.c
include/linux/mtd/spi-nor.h