2017-12-01 2:01 GMT+09:00 Miquel Raynal <miquel.raynal@xxxxxxxxxxxxxxxxxx>: > From: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx> > > This is part of the process of removing direct calls to ->cmdfunc() > outside of the core in order to introduce a better interface to execute > NAND operations. > > Here we provide several helpers and make use of them to remove all > direct calls to ->cmdfunc(). This way, we can easily modify those > helpers to make use of the new ->exec_op() interface when available. > > Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx> > [miquel.raynal@xxxxxxxxxxxxxxxxxx: rebased and fixed some conflicts] > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxxxxxxxxx> > --- > drivers/mtd/nand/atmel/nand-controller.c | 2 +- > drivers/mtd/nand/brcmnand/brcmnand.c | 9 +- > drivers/mtd/nand/cafe_nand.c | 14 +- > drivers/mtd/nand/denali.c | 37 +- For denali.c Acked-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> -- Best Regards Masahiro Yamada _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel