diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2012-09-05 11:02:39 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-05 11:58:24 -0700 |
| commit | c396147048fff69d764e5c3d2adca875c7c90a58 (patch) | |
| tree | 6c04a9e8490ac2700560e70c2cdc21175bfa0db4 /include/linux/extcon | |
| parent | fd445899d1aa0b49bf725ab98f2f052a38823bc5 (diff) | |
staging: comedi: das08: No need to manipulate PCI ref count
Now that this driver no longer supports "manual" attachment of PCI
devices in its `attach` hook (`das08_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 <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/extcon')
0 files changed, 0 insertions, 0 deletions
