diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2024-10-04 16:50:15 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-03-06 19:28:28 +0300 |
commit | b773530a34df0687020520015057075f8b7b4ac4 (patch) | |
tree | 658852efdfd2dd2248f4f3d048fb3d530db4d41c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b50231ff015ee223732a4783eda954609369076c (diff) | |
download | linux-b773530a34df0687020520015057075f8b7b4ac4.tar.xz |
media: c8sectpfe: Call of_node_put(i2c_bus) only once in c8sectpfe_probe()
An of_node_put(i2c_bus) call was immediately used after a pointer check
for an of_find_i2c_adapter_by_node() call in this function implementation.
Thus call such a function only once instead directly before the check.
This issue was transformed by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions