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