From: Dmitry Eremin-Solenikov Date: Thu, 2 Jun 2011 14:00:20 +0000 (+0400) Subject: mtd: wr_sbc82xx_flash.c: use mtd_device_parse_register X-Git-Tag: v3.2-rc1~14^2~136 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e062e2f52fed5bcf65b3228e991771a4a6030d85;p=pandora-kernel.git mtd: wr_sbc82xx_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. Artem: some tweaks, split one very long line while on it. Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed