Commit 68964c99 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

USB: msm_otg: Remove regulator NULL check references



Regulator API provides nop definitions when regulator feature
is disabled.  regulator_get returns NULL and other API return
'0' to indicate success.  Hence remove regulator NULL check.
IS_ERR check would suffice.

Change-Id: I9f552950c601fce0831bf723c61fa1afebce07ad
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 48daffd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment