mtd: rawnand: mxc: remove useless checks in GET/SET_FEATURES functions
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 19 Mar 2018 13:47:22 +0000 (14:47 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Tue, 20 Mar 2018 08:48:45 +0000 (09:48 +0100)
commit939da44758447c64a272d7a87e706872271a2fab
tree0856a0735ad08f3f2eba64dbe27bf2451d3893d5
parent993447b746820259e21b6c7962523631128d5ca6
mtd: rawnand: mxc: remove useless checks in GET/SET_FEATURES functions

All the calls to the chip's hooks ->get/set_features() go through
the core's wrappers nand_get/set_features() that already do the
necessary checks about feature support. Remove these
checks from the mxc's functions.

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