mtd: spi-nor: intel-spi: use mtd_device_register()
authorRafał Miłecki <rafal@milecki.pl>
Sat, 21 Jul 2018 11:55:10 +0000 (13:55 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Wed, 1 Aug 2018 07:18:55 +0000 (09:18 +0200)
commit11edc1133e3023e6452d6934c3f22d65a9c05fe8
treebea4fc140e70d38970775cc909e3898fabb8dbb9
parent5f0d02270d0a7a71dde2d4be3566733bba4d951e
mtd: spi-nor: intel-spi: use mtd_device_register()

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

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/spi-nor/intel-spi.c