diff options
| author | 2022-11-14 18:44:49 +0100 | |
|---|---|---|
| committer | 2022-11-22 17:29:41 +0100 | |
| commit | 53a256ea9596ec78a9f5dd51f2b49c2355b15d6e (patch) | |
| tree | b15e534a281bfadaf5ef1b8112198d2af3515d46 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | usb: typec: tipd: Fix typec_unregister_port error paths (diff) | |
| download | wireguard-linux-53a256ea9596ec78a9f5dd51f2b49c2355b15d6e.tar.xz wireguard-linux-53a256ea9596ec78a9f5dd51f2b49c2355b15d6e.zip | |
usb: typec: tipd: Move tps6598x_disconnect error path to its own label
While the code currently correctly calls tps6598x_disconnect before jumping
to the error cleanup label it's inconsistent compared to all the other cleanup
actions and prone to introduce bugs if any more resources are added.
Signed-off-by: Sven Peter <sven@svenpeter.dev>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20221114174449.34634-4-sven@svenpeter.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
