extcon: Add exception handling to prevent the NULL pointer access
This patch check whether argument is NULL to prevent NULL pointer access.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Showing
Please register or sign in to comment