Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7f4d1e7b authored by Gabor Juhos's avatar Gabor Juhos Committed by Felipe Balbi
Browse files

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: default avatarGabor Juhos <juhosg@openwrt.org>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent cd108691
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment