From: Artem Bityutskiy Date: Wed, 11 Oct 2006 11:52:47 +0000 (+0300) Subject: [MTD] return error code from get_mtd_device() X-Git-Tag: v2.6.20-rc6~47^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c74034f8fc5d93fbe5656421cbbdc4c76ddda28;p=pandora-kernel.git [MTD] return error code from get_mtd_device() get_mtd_device() returns NULL in case of any failure. Teach it to return an error code instead. Fix all users as well. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed