diff options
author | André Draszik <andre.draszik@linaro.org> | 2024-07-10 11:36:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-07 12:49:31 +0200 |
commit | e50f0887804e60584dc3223a06980597b7e8b2a8 (patch) | |
tree | 8db5a34010d3637f9619dd012d401200ef036d29 /tools/perf/scripts/python/stackcollapse.py | |
parent | 6ba97b42a5f2e04367ae006f65f46f6c1ec78c0b (diff) |
usb: typec: tcpm/tcpci_maxim: use device managed TCPCI port deregistration
Instead of open-coding the call to tcpci_unregister_port() in various
places, let's just register a hook using devm_add_action_or_reset() so
that it gets called automatically as and when necessary by the device
management APIs.
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240710-tcpc-cleanup-v1-15-0ec1f41f4263@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions