]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: mxc_nand.c: use mtd_device_parse_register
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 2 Jun 2011 14:00:43 +0000 (18:00 +0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 16 Aug 2011 13:44:46 +0000 (16:44 +0300)
commitf8a047d27e5b86ae610aaa9ecc67e4084e4499e5
tree4a9a0839a418c6d72024dc3dd93a95d3134ca11c
parent83c79a525d682b73c8b8035717cb696b7890ad44
mtd: mxc_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/mxc_nand.c