Commit a799864b authored by Jon Hunter's avatar Jon Hunter Committed by Greg Kroah-Hartman
Browse files

usb: gadget: tegra-xudc: Use dev_err_probe()



[ Upstream commit 77b57218 ]

Rather than testing if the error code is -EPROBE_DEFER before printing
an error message, use dev_err_probe() instead to simplify the code.

Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20210519163553.212682-2-jonathanh@nvidia.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 84fa943d ("usb: gadget: tegra-xudc: Fix USB3 PHY retrieval logic")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 350aeb14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment