mtd: spi-nor: drop unnecessary partition parser data
authorBrian Norris <computersforpeace@gmail.com>
Sat, 31 Oct 2015 03:33:26 +0000 (20:33 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 11 Nov 2015 21:58:51 +0000 (13:58 -0800)
commitdf02c885f8697546da41665f28dde5e30ce99674
tree64f6fdd615c3830330fbb32dcdd4f03f9be4f952
parenta61ae81a1907af1987ad4c77300508327bc48b23
mtd: spi-nor: drop unnecessary partition parser data

Now that the SPI-NOR/MTD framework pass the 'flash_node' through to the
partition parsing code, we don't have to do it ourselves.

Also convert to mtd_device_register(), since we don't need the 2nd and
3rd parameters anymore.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/devices/m25p80.c
drivers/mtd/spi-nor/fsl-quadspi.c
drivers/mtd/spi-nor/nxp-spifi.c