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

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