From: Axel Lin Date: Tue, 3 Aug 2010 08:34:13 +0000 (+0800) Subject: mfd: Avoid calling platform_device_put() twice in ucb1400 probe error path X-Git-Tag: v2.6.36-rc1~59^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef256176c7ede53741ad8c0231db0cc46c0cfce5;p=pandora-kernel.git mfd: Avoid calling platform_device_put() twice in ucb1400 probe error path In the case of goto err2, what we want is to call platform_device_del() instead of platform_device_unregister(). Otherwise, we call platform_device_put() twice. Signed-off-by: Axel Lin Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed