Re: [PATCH v2] phy: tegra: xusb: Fix return value of tegra_xusb_find_port_node function
From: Thierry Reding <hidden>
Date: 2021-12-13 10:38:44
Also in:
linux-tegra, lkml
From: Thierry Reding <hidden>
Date: 2021-12-13 10:38:44
Also in:
linux-tegra, lkml
On Mon, Dec 13, 2021 at 02:05:07AM +0000, Miaoqian Lin wrote:
callers of tegra_xusb_find_port_node() function only do NULL checking for the return value. return NULL instead of ERR_PTR(-ENOMEM) to keep consistent. Signed-off-by: Miaoqian Lin <redacted> --- drivers/phy/tegra/xusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Thierry Reding <redacted>