summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-04-11 23:50:02 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-04-11 23:51:18 -0700
commitc68b2081250a87ba9b9a173faa5a600cc684602e (patch)
treefebeb2fe8c5e37f1f4d3559cb592cd9365f82100 /net
parent908433833cac977563e9bef8b206990d846876b4 (diff)
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 <axel.lin@gmail.com> Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions