summaryrefslogtreecommitdiff
path: root/lib/earlycpio.c
diff options
context:
space:
mode:
authorLevente Kurusa <levex@linux.com>2013-12-20 01:22:35 +0400
committerBjorn Helgaas <bhelgaas@google.com>2013-12-20 02:02:54 +0400
commitf39862058e1f278e0495cd9ea57de571e74aa1fe (patch)
tree44de78187ff7b969533224a8be0ddbcf99c8e501 /lib/earlycpio.c
parent8f3acca9acec1503f6b374faef2d1013cbf502af (diff)
downloadlinux-f39862058e1f278e0495cd9ea57de571e74aa1fe.tar.xz
PCI/portdrv: Add put_device() after device_register() failure
This is required so that we give up the last reference to the device. Removed the kfree() as put_device will result in release_pcie_device() being called and hence the container of the device will be kfree'd. [bhelgaas: fix conflict after my previous cleanup] Signed-off-by: Levente Kurusa <levex@linux.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'lib/earlycpio.c')
0 files changed, 0 insertions, 0 deletions