diff options
author | Markus Elfring <[email protected]> | 2024-09-24 13:21:52 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-09-30 01:11:43 +0200 |
commit | 7368e9f4e25bea507895bf194bd1c72d693840b2 (patch) | |
tree | 1174926f6c46963f591f96c9957d2fcd2e8f40d8 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | f4e06afb0b47eb8ef6aa42eb8df2adb73b397bf7 (diff) |
regulator: Call of_node_put() only once in rzg2l_usb_vbus_regulator_probe()
An of_node_put(config.of_node) call was immediately used after a pointer
check for a devm_regulator_register() 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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions