Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx> wrote on Wed, 3 Jun 2020 17:07:43 +0200: > Hello, > > A bit of context to explain the motivation behind those conversions > I've been sending for the last few weeks. The raw NAND subsystem > carries a lot of history which makes any rework not only painful, but > also subject to regressions which we only detect when someone dares to > update its kernel on one of those ancient HW. While carrying drivers > for old HW is not a problem per se, carrying ancient and unmaintained > drivers that are not converted to new APIs is a maintenance burden, > hence this massive conversion attempt I'm conducting here. > > So here is a series converting the GPIO NAND controller driver to > exec_op(). I hope I'll find someone to test those changes, but if > there's no one still having access to this HW or no interest in keeping > it supported in recent kernel versions, we should definitely consider > removing the driver instead. > > Regards, > > Boris > > Boris Brezillon (3): > mtd: rawnand: gpio: Inherit from nand_controller > mtd: rawnand: gpio: Implement exec_op() > mtd: rawnand: gpio: Get rid of the legacy interface implementation > > drivers/mtd/nand/raw/gpio.c | 116 ++++++++++++++++++++++++++++-------- > 1 file changed, 91 insertions(+), 25 deletions(-) > Looks fine too!