From: Dmitry Eremin-Solenikov Date: Fri, 25 Mar 2011 19:26:25 +0000 (+0300) Subject: mtd: add new API for handling MTD registration X-Git-Tag: v3.2-rc1~14^2~154 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c4c215cbdcbfd08183d82b2953591cd00564422;p=pandora-kernel.git mtd: add new API for handling MTD registration Lots (nearly all) mtd drivers contain nearly the similar code that calls parse_mtd_partitions, provides some platform-default values, if parsing fails, and registers mtd device. This is an aim to provide single implementation of this scenario: mtd_device_parse_register() which will handle all this parsing and defaults. Artem: amended comments Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed