From: Gabor Juhos Date: Fri, 11 Oct 2013 07:01:03 +0000 (+0200) Subject: usb: phy: don't return with NULL from devm_usb_get_phy() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~66^2~22^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f4d1e7bdd9f293a522e5559f1b64a95c066c15e;p=pandora-kernel.git usb: phy: don't return with NULL from devm_usb_get_phy() The callers are expecting an ERR_PTR value in case of an error. Change he code to return with an encoded -ENOMEM value in the case of a failed devres_alloc call. Signed-off-by: Gabor Juhos Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed