From: David Herrmann Date: Tue, 20 Sep 2011 16:16:12 +0000 (-0700) Subject: Platform: Fix error path in samsung-laptop init X-Git-Tag: v3.2-rc1~111^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7ea19926ffba86f373f6050a106cd162dbb9a78;p=pandora-kernel.git Platform: Fix error path in samsung-laptop init samsung_init() should not return success if not all devices are initialized. Otherwise, samsung_exit() will dereference sdev NULL pointers and others. Signed-off-by: David Herrmann Cc: stable Signed-off-by: Greg Kroah-Hartman Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed