mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
We should assign the MTD dev.of_node instead of the parser data field. This gets us the equivalent partition parser behavior with fewer special fields and parameter passing. Also convert several of these to mtd_device_register(), since we don't need the 2nd and 3rd parameters anymore. Signed-off-by: Brian Norris <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Reviewed-by: Boris Brezillon <[email protected]>