commit | 2b274fe522e9d5ac7397e07e3516bb10e3c2ee92 | [log] [tgz] |
---|---|---|
author | Chao Xie <chao.xie@marvell.com> | Sun Aug 18 21:27:55 2013 -0400 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Mon Sep 02 11:00:16 2013 +0200 |
tree | 17a0fbd4fa0df463abccdf7ff7e3d9fbe567383c | |
parent | b432fc25b5b0311a58772fefe8d07e143600e908 [diff] |
mfd: 88pm805: 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: Chao Xie <chao.xie@marvell.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>