diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2012-06-26 12:10:32 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-07-02 07:40:49 (GMT) |
commit | ded017ee6c7b90f7356bd8488f8af1c10ba90490 (patch) | |
tree | 1ed1612aa13f24e1aa8480fb497d2a0311fae9cc /arch/m32r/include | |
parent | b8a3efa3a363720687d21228d6b23b988a223bbb (diff) | |
download | linux-fsl-qoriq-ded017ee6c7b90f7356bd8488f8af1c10ba90490.tar.xz |
usb: phy: fix return value check of usb_get_phy
usb_get_phy will return -ENODEV if it's not able to find the phy. Hence
fixed all the callers of usb_get_phy to check for this error condition
instead of relying on a non-zero value as success condition.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/m32r/include')
0 files changed, 0 insertions, 0 deletions