]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: m25p80.c: use mtd_device_parse_register
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 2 Jun 2011 13:59:16 +0000 (17:59 +0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 16 Aug 2011 13:44:50 +0000 (16:44 +0300)
commitdd3d2897dcd4f5119e78bad71f866668c9a671dc
tree1d9bba768213f2a2ede2ecbeb40edd2d8cea2a01
parent9a9fc79175c504c986c6a90a3999e2cbae4a58ad
mtd: m25p80.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 <dedekind1@gmail.com>
drivers/mtd/devices/m25p80.c