From: Dmitry Eremin-Solenikov Date: Thu, 2 Jun 2011 13:59:44 +0000 (+0400) Subject: mtd: impa7.c: use mtd_device_parse_register X-Git-Tag: v3.2-rc1~14^2~148 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5003403b87283a5e304e0248918ef678dbd24d59;p=pandora-kernel.git mtd: impa7.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. Artem: rename static_partitions to make lines shorter and align the way this driver prefers. Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed