mtd: rawnand: gpmi: Use nand_extract_bits()
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 8 May 2020 17:18:05 +0000 (19:18 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 31 May 2020 08:53:37 +0000 (10:53 +0200)
commite5e5631cc88987a6f3cd8304660bd9190da95916
tree56f9ccc7c9384d1f644f0a240794e8d4ed3df698
parent37f7212148cf1d796135cdf8d0c7fee13067674b
mtd: rawnand: gpmi: Use nand_extract_bits()

Drop the use of gpmi_copy_bits() in favor of the NAND helper
nand_extract_bits().

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200508171805.8627-1-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c