From: Axel Lin Date: Mon, 31 May 2010 09:30:55 +0000 (+0800) Subject: mfd: properly handle platform_device_add_resources fail in mfd_add_device X-Git-Tag: v2.6.36-rc1~59^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8af5fe3bc59d73479ff701340e1a9bc7c6b5f0ff;p=pandora-kernel.git mfd: properly handle platform_device_add_resources fail in mfd_add_device platform_device_add_resources may fail, thus add error checking for it. Signed-off-by: Axel Lin Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed