diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2021-12-13 02:05:07 +0000 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-12-14 13:07:21 +0530 |
commit | 045a31b95509c8f25f5f04ec5e0dec5cd09f2c5f (patch) | |
tree | 2fda40d08c7286af75c8770bef4ba9cdd1b5d96e /samples | |
parent | e87f13c33e126ab2c72f9acb5ae98fbb93ddfd32 (diff) | |
download | lwn-045a31b95509c8f25f5f04ec5e0dec5cd09f2c5f.tar.gz lwn-045a31b95509c8f25f5f04ec5e0dec5cd09f2c5f.zip |
phy: tegra: xusb: Fix return value of tegra_xusb_find_port_node function
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@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20211213020507.1458-1-linmq006@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions