]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: mtd_dataflash.c: use mtd_device_parse_register
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 2 Jun 2011 13:59:18 +0000 (17:59 +0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 16 Aug 2011 13:44:47 +0000 (16:44 +0300)
commitfc4708a060052ab4b7238069849db56cc5f60134
treec31c39714cedf4325f70cfb80a2d4634512aa98d
parent6b1ab7793efe01fd4f0bec318b7369e894bf3b5b
mtd: mtd_dataflash.c: use mtd_device_parse_register

Replace custom invocations of parse_mtd_partitions and mtd_device_register
with common mtd_device_parse_register call. This would bring: standard
handling of all errors, fallback to default partitions, etc.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/devices/mtd_dataflash.c