commit | 68964c9905ea62251cc55b81197001d833509b27 | [log] [tgz] |
---|---|---|
author | Pavankumar Kondeti <pkondeti@codeaurora.org> | Thu Oct 27 14:58:56 2011 +0530 |
committer | Pavankumar Kondeti <pkondeti@codeaurora.org> | Fri Nov 04 08:25:04 2011 +0530 |
tree | 59c88ea24af541d084cd0a64498f65db0805ae97 | |
parent | 48daffd8fd607ee762856c1aa0c847c0c829ec65 [diff] |
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>