aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/surface_aggregator_registry.c
diff options
context:
space:
mode:
authorXiongfeng Wang <[email protected]>2022-11-11 18:07:52 +0800
committerHans de Goede <[email protected]>2022-11-15 17:15:47 +0100
commitd0cdd85046b15089df71a50548617ac1025300d0 (patch)
treed10b0074b72ec679174ecccc929f54d301cdc33a /drivers/platform/surface/surface_aggregator_registry.c
parent2dbfb3f33350e1e868d3d7ed4c176d8777150878 (diff)
platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr()
pci_get_device() will increase the reference count for the returned pci_dev. We need to use pci_dev_put() to decrease the reference count before asus_wmi_set_xusb2pr() returns. Signed-off-by: Xiongfeng Wang <[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/surface_aggregator_registry.c')
0 files changed, 0 insertions, 0 deletions