diff options
| author | André Draszik <[email protected]> | 2024-07-10 11:36:22 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-08-07 12:49:31 +0200 |
| commit | e50f0887804e60584dc3223a06980597b7e8b2a8 (patch) | |
| tree | 8db5a34010d3637f9619dd012d401200ef036d29 /tools/perf/scripts/python/task-analyzer.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 <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions