From: Ian Abbott Date: Mon, 1 Sep 2014 11:03:38 +0000 (+0100) Subject: staging: comedi: amplc_pci230: no need to manipulate PCI ref count X-Git-Tag: fixes-for-v3.18-merge-window~15^2~828 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=228df3c99b511ec563dbbd3c7385a3ed83201dd5;p=pandora-kernel.git staging: comedi: amplc_pci230: no need to manipulate PCI ref count This driver no longer supports a "legacy" attach mechanism that searches for a suitable PCI device and increments it's reference count, but since the common "detach" handler `pci230_detach()` still has a left-over `pci_dev_put()`, a matching `pci_dev_get()` is needed in the "auto_attach" handler `pci230_auto_attach()`. There is no longer any reason to "get" and "put" the PCI device, so those calls can be removed. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed