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

Artem: tweaked the patch

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