diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2024-10-04 15:50:15 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-03-06 17:28:28 +0100 |
| commit | b773530a34df0687020520015057075f8b7b4ac4 (patch) | |
| tree | 658852efdfd2dd2248f4f3d048fb3d530db4d41c /drivers/usb/cdns3/cdns3-trace.c | |
| parent | b50231ff015ee223732a4783eda954609369076c (diff) | |
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 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions
