Skip to content
Commit 664c84c2 authored by Yu Liao's avatar Yu Liao Committed by Jakub Kicinski
Browse files

net: dm9051: Use PTR_ERR_OR_ZERO() to simplify code



Use the standard error pointer macro to shorten the code and simplify.

Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
Link: https://lore.kernel.org/r/20230822021455.205101-2-liaoyu15@huawei.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e3b3a879
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment