[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YbcfcpkwxCkeGP3f@orome>
Date: Mon, 13 Dec 2021 11:24:50 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: Miaoqian Lin <linmq006@...il.com>
Cc: digetx@...il.com, jckuo@...dia.com, jonathanh@...dia.com,
kishon@...com, linux-kernel@...r.kernel.org,
linux-phy@...ts.infradead.org, linux-tegra@...r.kernel.org,
vkoul@...nel.org
Subject: Re: [PATCH v2] phy: tegra: xusb: Fix return value of
tegra_xusb_find_port_node function
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 <linmq006@...il.com>
> ---
> drivers/phy/tegra/xusb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Thierry Reding <treding@...dia.com>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists