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: NChanwoo Choi <cw00.choi@samsung.com>
Showing
想要评论请 注册 或 登录
This patch check whether argument is NULL to prevent NULL pointer access.
Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>