]> git.karo-electronics.de Git - linux-beck.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>
Sun, 11 Sep 2011 12:02:09 +0000 (15:02 +0300)
commit9e58c5d42ff69e7d99cc8e37082f58ba44e7fa7d
tree05b1cc93e755d3f2cb3d512a3ce6d04ba111005c
parent68adef5db85d147943ed97bbd148a712b2323ecc
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