summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-10-21 23:45:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-29 06:28:51 +0300
commit1ab0b9ae587373f9f800b6fda01b8faf02b3530b (patch)
treee209c929adf593b54b8e9023046d47aa514a9835 /tools/perf/scripts/python
parent9581acb91eaf5bbe70086bbb6fca808220d358ba (diff)
downloadlinux-1ab0b9ae587373f9f800b6fda01b8faf02b3530b.tar.xz
usb: typec: use cleanup facility for 'altmodes_node'
Use the __free() macro for 'altmodes_node' to automatically release the node when it goes out of scope, removing the need for explicit calls to fwnode_handle_put(). Suggested-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20241021-typec-class-fwnode_handle_put-v2-2-3281225d3d27@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions