Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c68b2081 authored by Axel Lin's avatar Axel Lin Committed by Dmitry Torokhov
Browse files

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: default avatarAxel Lin <axel.lin@gmail.com>
Reviewed-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 90843383
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment