diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2014-07-25 10:04:50 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-27 11:28:38 -0700 |
| commit | f78660123ff8e35e8098eefb8f8087a916239108 (patch) | |
| tree | 4f3c2bcad77494a544f271c4239edb4bb89204a9 /tools/perf/scripts/python | |
| parent | 046874f7fbd1e26f8bc4dccacc40bf1c9956986c (diff) | |
staging: comedi: amplc_pc236: no need to manipulate PCI ref count
Now that this driver no longer supports "manual" attachment of PCI
devices in its `attach` hook (`pc236_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>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
