diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-02-25 13:48:20 +0400 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-02-26 00:42:33 +0400 |
commit | 43aaa50f17c38c16cce2a9a3e73909b7937892a3 (patch) | |
tree | 7fd690f9f67a2bbcc072c692cf582b84862d2376 /drivers/mfd/max14577.c | |
parent | c4c7fb19bbf1129da1c3b9fcad9713bd79f3207c (diff) | |
download | linux-43aaa50f17c38c16cce2a9a3e73909b7937892a3.tar.xz |
mmc: wmt-sdmmc: Fix NULL pointer dereference
'of_id' is dereferenced before NULL pointer check. Move it to
after the check.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mfd/max14577.c')
0 files changed, 0 insertions, 0 deletions