mtd: Get rid of unused fields in struct erase_info
authorBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 12 Feb 2018 21:03:08 +0000 (22:03 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 15 Mar 2018 16:25:06 +0000 (17:25 +0100)
commitdcba51bbb9e0cc7f80d36eb20a033a4dff2ce9cc
treea010d76a62213d590b2c6431fafd76da757b664a
parentc585da9f5f6186739f0b123b8a5b6353e425f51b
mtd: Get rid of unused fields in struct erase_info

Some fields are not used by MTD drivers, users or core code. Moreover,
those fields are not documented, so get rid of them to avoid any
confusion.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
include/linux/mtd/mtd.h