diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-02-13 02:31:31 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-13 13:52:19 +0100 |
commit | e81d7bc89c9623ea000890fb4cdf7e731dc21f71 (patch) | |
tree | ef2822bf7b852b1411efc72e64a3c4cf2789683e /arch/arm | |
parent | regulator: s5m8767: Fix dev argument for devm_kzalloc and of_get_regulator_in... (diff) | |
download | linux-e81d7bc89c9623ea000890fb4cdf7e731dc21f71.tar.xz linux-e81d7bc89c9623ea000890fb4cdf7e731dc21f71.zip |
regulator: s5m8767: Prevent possible NULL pointer dereference
s5m8767_pmic_dt_parse_pdata dereferenes pdata, thus check pdata earlier to
avoid NULL pointer dereference.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions