Axel Lin c68b208125 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>
2011-04-11 23:51:18 -07:00
..
2010-11-30 23:10:26 -08:00
2010-11-30 23:10:26 -08:00
2010-11-30 23:10:26 -08:00
2010-11-30 23:10:26 -08:00
2011-03-18 23:38:50 -07:00
2010-11-30 23:10:26 -08:00
2010-11-30 23:10:26 -08:00