]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
twl4030: fix potential null pointer dereference
authorFelipe Balbi <felipe.balbi@nokia.com>
Tue, 30 Sep 2008 18:42:45 +0000 (21:42 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 1 Oct 2008 10:37:35 +0000 (13:37 +0300)
commit5502757afe919179c8dc32da3758c802803f1fdd
tree807390557f747fb2ff8a4f01cee5e8a5e50cdf86
parent81d2c7d87a9c1eb724788fce7312922effa1b1ae
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 <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/input/keyboard/omap-twl4030keypad.c