mtd: maps: Merge physmap_of.c into physmap-core.c
authorBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 19 Oct 2018 07:49:04 +0000 (09:49 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 5 Nov 2018 21:24:24 +0000 (22:24 +0100)
commit642b1e8dbed7bbbf8c4deb3c9a0496f17278badc
tree5930208b40687de54f24540389af6a67a684ad5e
parent0c3def9b58d85ea8a8a8773d1151d8d554842d0a
mtd: maps: Merge physmap_of.c into physmap-core.c

There's no real reason to have two separate driver for the DT and pdata
case. Just do what we do everywhere else and handle DT and pdata
parsing in the same driver.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mtd/maps/Kconfig
drivers/mtd/maps/Makefile
drivers/mtd/maps/physmap-core.c
drivers/mtd/maps/physmap_of_core.c [deleted file]