mtd: rawnand: ams-delta: Use GPIO API for data I/O
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>
Wed, 21 Nov 2018 11:08:05 +0000 (12:08 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 7 Dec 2018 09:38:27 +0000 (10:38 +0100)
commit7416bd35008c0fbd4aff9fdb267ff67b7bc4ea77
tree52c720558fe8aede13e7303782b984b47d0f03ac
parent9773861304f15bec54b55ff1b6e6e6a7f99ebe5b
mtd: rawnand: ams-delta: Use GPIO API for data I/O

Don't readw()/writew() data directly from/to GPIO port which is under
control of gpio-omap driver, use GPIO consumer API instead.

The driver should now work with any 8-bit bidirectional GPIO port, not
only OMAP.

Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/ams-delta.c