mtd: onenand: use mtd_device_register() where applicable
authorRafał Miłecki <rafal@milecki.pl>
Fri, 13 Jul 2018 09:27:32 +0000 (11:27 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 19 Jul 2018 21:14:12 +0000 (23:14 +0200)
commite8b0ac398f5ec16b249f5243d8011d490e3b91c0
tree49b485dd31faef7928f26d8e8fb87e5086420007
parent29597ca14dee1611eafbc09ae0c6bd756687105f
mtd: onenand: use mtd_device_register() where applicable

If driver doesn't specify parsers it can use that little helper.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/onenand/generic.c
drivers/mtd/nand/onenand/samsung.c