diff options
author | Pan Bian <bianpan2016@163.com> | 2021-01-20 20:50:05 -0800 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-02-02 19:33:44 +0100 |
commit | 745ed17a04f966406c8c27c8f992544336c06013 (patch) | |
tree | 8a895e5e2f981e1e20f841327c11971dbbfa0f36 /drivers/platform/olpc | |
parent | eabe533904cbcb6c7df530fd807cf2a3c3567d35 (diff) |
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 <bianpan2016@163.com>
Link: https://lore.kernel.org/r/20210121045005.73342-1-bianpan2016@163.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/olpc')
0 files changed, 0 insertions, 0 deletions