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:
Pavankumar Kondeti <pkondeti@codeaurora.org>
Loading
Please register or sign in to comment