mfd: 88pm800: Fix potential NULL pdata dereference
User pass platform data to device, and platform data may be NULL. Add the check for pdata. Signed-off-by: NChao Xie <chao.xie@marvell.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
Showing
想要评论请 注册 或 登录