From: Felipe Balbi Date: Tue, 30 Sep 2008 18:42:45 +0000 (+0300) Subject: twl4030: fix potential null pointer dereference X-Git-Tag: v2.6.27-omap1~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5502757afe919179c8dc32da3758c802803f1fdd;p=pandora-kernel.git twl4030: fix potential null pointer dereference The following patch fix a potential null pointer dereference in twl4030 keypad driver when parts of keypad platform_data aren't passed down to the driver. At that point kp->dbg_dev is not set yet. Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed