From: Ian Abbott Date: Wed, 24 Oct 2012 15:47:47 +0000 (+0100) Subject: staging: comedi: amplc_dio200: no need to manipulate PCI ref count X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~1032 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f34e08f54f078cb4911962b43c2bd16c2f8ccce3;p=pandora-kernel.git staging: comedi: amplc_dio200: no need to manipulate PCI ref count Now that this driver no longer supports "manual" attachment of PCI devices in its `attach` hook (`dio200_attach()`), it no longer has code that searches for a suitable PCI device and increments its reference count. Since the driver no longer has any reason for incrementing and decrementing the PCI device's reference count, the calls to `pci_dev_get()` and `pci_dev_put()` can be removed. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed