]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: latch-addr-flash.c: use mtd_device_parse_register
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 2 Jun 2011 13:59:50 +0000 (17:59 +0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 16 Aug 2011 13:44:44 +0000 (16:44 +0300)
commit6c5ff9e7d7555453b0714a79983835aa2249005a
treec78706b74ef2aa69c96b4ccbaf1b35a9dd898dda
parent5a4cf0416ceaea54eb6987ee0870d49f6c6a8b76
mtd: latch-addr-flash.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/maps/latch-addr-flash.c