Messages in this thread | | | Date | Thu, 26 Sep 2013 11:16:49 -0400 | From | Neil Horman <> | Subject | Re: [PATCH v2 1/3] pci: remove redundant pci_dev_get/put() on kobject (un)register |
| |
On Thu, Sep 26, 2013 at 04:11:13PM +0200, Veaceslav Falico wrote: > Currently we're pci_dev_get/put()-ing pci device on every kobject > creation/removal. It's useless per se - the kobject is part of the device > itself, so it should be removed when there are no users of the pdev, and is > not a user of it. > > CC: Bjorn Helgaas <bhelgaas@google.com> > CC: Neil Horman <nhorman@tuxdriver.com> > CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > CC: linux-pci@vger.kernel.org > CC: linux-kernel@vger.kernel.org > Signed-off-by: Veaceslav Falico <vfalico@redhat.com> Acked-by: Neil Horman <nhorman@tuxdriver.com>
| |