diff options
author | 2024-08-28 20:28:29 +0800 | |
---|---|---|
committer | 2024-08-28 13:52:18 +0100 | |
commit | 75560718e83bede12d70b2a6b6940089477f58e4 (patch) | |
tree | 6bb26a23b52946106f8308b049e83fff0512d782 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ASoC: SOF: topology: Use kmemdup_array instead of kmemdup for multiple allocation (diff) | |
download | wireguard-linux-75560718e83bede12d70b2a6b6940089477f58e4.tar.xz wireguard-linux-75560718e83bede12d70b2a6b6940089477f58e4.zip |
ASoC: dapm: 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>
Link: https://patch.msgid.link/20240828122829.3697502-1-lihongbo22@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions