Re: [PATCH v2 2/3] phy: phy-rockchip-inno-usb2: Handle failed extcon allocation better
From: Heiko Stübner <heiko@sntech.de>
Date: 2024-08-21 08:40:51
Also in:
linux-phy, linux-rockchip, lkml
From: Heiko Stübner <heiko@sntech.de>
Date: 2024-08-21 08:40:51
Also in:
linux-phy, linux-rockchip, lkml
Am Mittwoch, 21. August 2024, 09:37:54 CEST schrieb Dragan Simic:
Return the actual error code upon failure to allocate extcon device, instead of hardcoding -ENOMEM. Use dev_err_probe() to also log appropriate messages, which is fine because the containing function is used in the probe path. Helped-by: Heiko Stubner [off-list ref]
How did I help with this? :-D Reviewed-by: Heiko Stuebner <heiko@sntech.de>