diff options
| author | Vijay kumar Tumati <vtumati@codeaurora.org> | 2017-09-22 15:41:42 +0530 |
|---|---|---|
| committer | Vijay kumar Tumati <vtumati@codeaurora.org> | 2017-10-04 14:13:13 +0530 |
| commit | 2b32c1afd4ccf088d1d07edd4924d806adbde46e (patch) | |
| tree | d69564f1ed77741adb1f964d6ef8f4de4fb671c9 /lib/mpi/mpi-cmp.c | |
| parent | 0d617edc010f86e7df529fe2b30b1b12ffdcee58 (diff) | |
msm: camera: Check if regulator is null before enabling
Using IS_ERR_OR_NULL instead of IS_ERR to also check for
null pointer.
Change-Id: If53a07db52a4d091693a49f9d084df7d4fbf257a
Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
