]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: socrates_nand.c: use mtd_device_parse_register
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 2 Jun 2011 14:01:07 +0000 (18:01 +0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 16 Aug 2011 13:44:50 +0000 (16:44 +0300)
commit65e7a4850f62525b9bc629d5ff52eb32add9244c
tree62c91ff511cb2f7f21529030ede8cef1b48cb78f
parent43319dd079f35f5f3e3d1c05947185d3db50a64a
mtd: socrates_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.

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