summaryrefslogtreecommitdiff
path: root/drivers/pci/pci-acpi.c
diff options
context:
space:
mode:
authorTyrel Datwyler <tyreld@linux.vnet.ibm.com>2019-03-22 21:27:22 +0300
committerBjorn Helgaas <bhelgaas@google.com>2019-04-11 00:07:12 +0300
commit91800660bbe9d4ae7791f0e646e5736180f01fc0 (patch)
treec23070bd2763b4994b881eb641f5273f649f7802 /drivers/pci/pci-acpi.c
parentfb26228bfc4ce3951544848555c0278e2832e618 (diff)
downloadlinux-91800660bbe9d4ae7791f0e646e5736180f01fc0.tar.xz
PCI: rpaphp: Get/put device node reference during slot alloc/dealloc
When allocating the slot structure we store a pointer to the associated device_node. We really should be incrementing the reference count, so add an of_node_get() during slot alloc and an of_node_put() during slot dealloc. Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci-acpi.c')
0 files changed, 0 insertions, 0 deletions