mtd: change len type from signed to unsigned type
authorhuijin.park <huijin.park@samsung.com>
Thu, 29 Nov 2018 04:19:51 +0000 (23:19 -0500)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 3 Dec 2018 10:32:26 +0000 (11:32 +0100)
commitbafae53817e7f3a47ed74cd03152e166aa639131
treecb01bea50eb502dd4d93e4d9d9ef0b45eeb7eff8
parent6750f61a13a0197c40e4a40739117493b15f19e8
mtd: change len type from signed to unsigned type

Callers of erase_write() always pass an unsigned int.
So this patch avoids a cast to an int.

Signed-off-by: huijin.park <huijin.park@samsung.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/mtdblock.c