]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: rbtx4939-flash.c: use mtd_device_parse_register
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 2 Jun 2011 14:00:04 +0000 (18:00 +0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 16 Aug 2011 13:44:44 +0000 (16:44 +0300)
commit7c1d809a886291c9aa432df1ae721d79d16022d5
tree0a3fe933a52daee05ca11e664f169e8074517dec
parente1eea1810d28e9f54eb0a344837c38b0d7f236a2
mtd: rbtx4939-flash.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/maps/rbtx4939-flash.c