]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: onenand/omap2.c: use mtd_device_parse_register
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 2 Jun 2011 14:01:11 +0000 (18:01 +0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 16 Aug 2011 13:44:47 +0000 (16:44 +0300)
commit11b60945288636cfd6a7611c0a68077c59d7284e
treefcbfd54f9b1cd8dd8afb2dbeccbd30181d0e944e
parent2c3ed6eb5e06185be01bf8bc6a9d0b65d0577daf
mtd: onenand/omap2.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.

Axel Lin <axel.lin@gmail.com>: fixed build breakage

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