commit | a7ea19926ffba86f373f6050a106cd162dbb9a78 | [log] [tgz] |
---|---|---|
author | David Herrmann <dh.herrmann@googlemail.com> | Tue Sep 20 09:16:12 2011 -0700 |
committer | Matthew Garrett <mjg@redhat.com> | Mon Oct 24 16:52:35 2011 +0200 |
tree | 4c6da04869eefdf754bfb3c60b29b24dd9d2640b | |
parent | bee460be8c691c544e84ed678280ace6153104c6 [diff] |
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 <dh.herrmann@googlemail.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Matthew Garrett <mjg@redhat.com>