diff options
| author | Pan Bian <[email protected]> | 2021-01-21 04:50:05 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-02-02 18:33:44 +0000 |
| commit | 745ed17a04f966406c8c27c8f992544336c06013 (patch) | |
| tree | 8a895e5e2f981e1e20f841327c11971dbbfa0f36 /drivers/platform/surface/aggregator/ssh_packet_layer.c | |
| parent | platform/x86: ideapad-laptop: DYTC Platform profile support (diff) | |
| download | kernel-745ed17a04f966406c8c27c8f992544336c06013.tar.gz kernel-745ed17a04f966406c8c27c8f992544336c06013.zip | |
platform/x86: amd-pmc: put device on error paths
Put the PCI device rdev on error paths to fix potential reference count
leaks.
Signed-off-by: Pan Bian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_packet_layer.c')
0 files changed, 0 insertions, 0 deletions
