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