[PATCH 3/5] mtd: spi-nor: drop unnecessary partition parser data

2015-10-26 Thread Brian Norris
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 --- drivers/mtd/devices/m25p80.c | 8

[PATCH 3/5] mtd: spi-nor: drop unnecessary partition parser data

2015-10-26 Thread Brian Norris
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 ---