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