summaryrefslogtreecommitdiff
path: root/drivers/nfc
diff options
context:
space:
mode:
authorHongbo Li <lihongbo22@huawei.com>2024-08-28 20:23:36 +0800
committerJakub Kicinski <kuba@kernel.org>2024-08-29 11:42:24 -0700
commit4266563afbb1eb1735aa7063fe8ff6377991ae42 (patch)
treeb36999dc79d606ced4b64366da37bb113edfd51b /drivers/nfc
parent9023fda2f186168e45bb8e7397ad15ff17fd7bf8 (diff)
downloadlwn-4266563afbb1eb1735aa7063fe8ff6377991ae42.tar.gz
lwn-4266563afbb1eb1735aa7063fe8ff6377991ae42.zip
net: hns: Use IS_ERR_OR_NULL() helper function
Use the IS_ERR_OR_NULL() helper instead of open-coding a NULL and an error pointer checks to simplify the code and improve readability. Signed-off-by: Hongbo Li <lihongbo22@huawei.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20240828122336.3697176-1-lihongbo22@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions