]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rbtx4939-flash.c: use mtd_device_parse_register
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 2 Jun 2011 14:00:04 +0000 (18:00 +0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:02:07 +0000 (15:02 +0300)
commitcd4229a5d1501ef3eb711bc20dacc2903aff127b
treecf6530acb4674ce1ceb3a050cc7436f179442e9b
parent6bc1a3af26b0009cddf1bb429ece81ab01860eb6
mtd: rbtx4939-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/rbtx4939-flash.c