mtd: rawnand: au1550nd: Stop using IO_ADDR_{R, W} in au_{read, write}_buf[16]()
authorBoris Brezillon <boris.brezillon@collabora.com>
Sun, 19 Apr 2020 19:30:34 +0000 (21:30 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 10 May 2020 19:18:48 +0000 (21:18 +0200)
commit15770370df4d51bd5ca408f0b8c46c90098d3300
tree6fcac21dcd00b6e0d12ed13e1954b39d5e0d077b
parent5756f2e8dad46eba6e2d3e530243b8eff4dd5a42
mtd: rawnand: au1550nd: Stop using IO_ADDR_{R, W} in au_{read, write}_buf[16]()

We are about to re-use those for the exec_op() implementation which
will not rely on au1550_hwcontrol(). Let's patch those helpers to
simply use the iomem address stored in the context.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200419193037.1544035-2-boris.brezillon@collabora.com
drivers/mtd/nand/raw/au1550nd.c