diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-10-11 11:01:03 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-10-11 22:50:38 +0400 |
commit | 7f4d1e7bdd9f293a522e5559f1b64a95c066c15e (patch) | |
tree | 164b9af202a640f539fbba1f8bc3712b4ba3871a /drivers/pwm/pwm-tegra.c | |
parent | cd1086913ffef6d9656efdf35168b2b28675c245 (diff) | |
download | linux-7f4d1e7bdd9f293a522e5559f1b64a95c066c15e.tar.xz |
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 <juhosg@openwrt.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/pwm/pwm-tegra.c')
0 files changed, 0 insertions, 0 deletions