diff options
author | Javier Carrasco <[email protected]> | 2024-10-19 21:14:57 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2024-10-19 21:21:41 -0700 |
commit | 8dee1ddafa2f66c32d14af8e138e70ae7ace0292 (patch) | |
tree | 9f7c3209b83a7278c8894d76d84d5f53dfd21486 /scripts/gdb/linux/timerlist.py | |
parent | d3dcadd654aefadebe847da74059dce6cc506e6b (diff) |
Input: 88pm860x - use cleanup facility for device_node
Use the '__free(device_node)' macro to simplify the code and error
handling. This makes the code more robust by ensuring that the device
node is always freed.
Drop the first assignment to 'pdev->dev.parent->of_node', as it was only
a shortcut, and tie 'np' to its usage as a child node.
Signed-off-by: Javier Carrasco <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions