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