diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2013-02-18 02:15:03 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-03-13 09:28:15 +0100 |
commit | 810d601f07ce2481ff776e049c0733ded2abbcc1 (patch) | |
tree | 976c48ddc58dd542569d892b09af8f4ae11531c0 /drivers/md | |
parent | Linux 3.9-rc2 (diff) | |
download | linux-810d601f07ce2481ff776e049c0733ded2abbcc1.tar.xz linux-810d601f07ce2481ff776e049c0733ded2abbcc1.zip |
extcon: max8997: Check the pointer of platform data to protect null pointer error
This patch check the pointer of platform data to protect
kernel panic when platform data is not used and code clean.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions