diff options
author | 2022-09-14 22:07:53 +0800 | |
---|---|---|
committer | 2022-09-24 15:00:38 +0200 | |
commit | d70590d53a8996acf55426ba934d49eee9f091cd (patch) | |
tree | 62a28c727b513f4c4d646fb0851a384427aa8359 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Documentation: ENI155_MAGIC isn't a magic number (diff) | |
download | wireguard-linux-d70590d53a8996acf55426ba934d49eee9f091cd.tar.xz wireguard-linux-d70590d53a8996acf55426ba934d49eee9f091cd.zip |
driver core: use IS_ERR_OR_NULL() helper in device_create_groups_vargs()
Use IS_ERR_OR_NULL() helper in device_create_groups_vargs() to simplify code
and improve readiblity. No functional change.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220914140753.3799982-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions