Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2879590d authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Stephen Boyd
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 77beb667
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment