]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: pxa3xx_nand.c: use mtd_device_parse_register
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 2 Jun 2011 14:00:59 +0000 (18:00 +0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 16 Aug 2011 13:44:46 +0000 (16:44 +0300)
commitaad967a8261e223fe160c877d4c37bb8ab14deb6
tree35ff7652cfa04b19cfef0051178b05be4f592278
parent1ee9d72625a93393fa81909e5d1f88d8812ae3d0
mtd: pxa3xx_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 <Artem.Bityutskiy@nokia.com>
drivers/mtd/nand/pxa3xx_nand.c