From: Kishon Vijay Abraham I Date: Tue, 26 Jun 2012 12:10:32 +0000 (+0530) Subject: usb: phy: fix return value check of usb_get_phy X-Git-Tag: v3.6-rc1~101^2~53^2~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ded017ee6c7b90f7356bd8488f8af1c10ba90490;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed