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