mtd: rawnand: Make maxchips an unsigned int
authorBoris Brezillon <boris.brezillon@bootlin.com>
Sat, 4 Aug 2018 20:59:22 +0000 (22:59 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 3 Oct 2018 09:12:25 +0000 (11:12 +0200)
commit871a4073f438c61cc4cf7471476d9a8a29ccf620
treec0aeba6998ec60d53b49f4a0149f2c0423949a02
parent480bdd8b7ab6971f15258a73638cc3880ed7256d
mtd: rawnand: Make maxchips an unsigned int

There's no good reason to make maxchips a signed integer, since only
positive values are valid. Make it an unsigned int.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/nand_base.c
include/linux/mtd/rawnand.h