From: Axel Lin Date: Wed, 13 Jul 2011 06:59:41 +0000 (-0700) Subject: Input: atkbd - make dmi callback functions return 1 X-Git-Tag: v3.1-rc1~144^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c388b2c67e64d20cc0ad0d48d0e3e819d489bfed;p=pandora-kernel.git Input: atkbd - make dmi callback functions return 1 We only care about if there is a successful match from the table (or no match at all), so let's make dmi_check_system return immediately instead of iterating thorough the whole table. Make the dmi callback function return 1 then dmi_check_system will return immediately if we have a successful match. Signed-off-by: Axel Lin Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed