mtd: rawnand: Remove of_get_nand_on_flash_bbt() wrapper
authorTudor Ambarus <tudor.ambarus@microchip.com>
Thu, 6 Jan 2022 13:16:09 +0000 (15:16 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 23 Jan 2022 15:37:18 +0000 (16:37 +0100)
commitdbfbe79dbb6339196d5a26eaed70c3a50d6d154a
treebb342a0fc987f1bb26abc8219474f587ea872c44
parent3e68f331c8c759c0daa31cc92c3449b23119a215
mtd: rawnand: Remove of_get_nand_on_flash_bbt() wrapper

Remove the wrapper as it hides for no reason what we really want: find an
of_property. Removing the wrapper makes the code easier to read.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220106131610.225661-1-tudor.ambarus@microchip.com
drivers/mtd/nand/raw/nand_base.c