From: Axel Lin Date: Mon, 5 Jul 2010 07:29:00 +0000 (+0800) Subject: asus-laptop: fix asus_input_init error path X-Git-Tag: v2.6.36-rc1~579^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45036ae14a0161e9a0f542b6cb7ed55790f73f5b;p=pandora-kernel.git asus-laptop: fix asus_input_init error path This patch includes below fixes: 1. return -ENOMEM instead of 0 if input_allocate_device fail. 2. fix wrong goto if sparse_keymap_setup fail. 3. fix wrong goto if input_register_device fail. Signed-off-by: Axel Lin Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed