From: Axel Lin Date: Tue, 12 Apr 2011 06:50:02 +0000 (-0700) Subject: Input: twl4030_keypad - fix potential NULL dereference in twl4030_kp_probe() X-Git-Tag: v2.6.39-rc4~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c68b2081250a87ba9b9a173faa5a600cc684602e;p=pandora-kernel.git Input: twl4030_keypad - fix potential NULL dereference in twl4030_kp_probe() We should first check whether platform data is NULL or not, before dereferencing it to get the keymap. Signed-off-by: Axel Lin Reviewed-by: Felipe Balbi Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed