diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2012-11-01 22:34:35 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-01 23:35:56 +0400 |
| commit | b7703d7d4866424a99fc80efa070842f51b9fe66 (patch) | |
| tree | 1f57f0dd28a0026ece42c70a3c593dc108d1c0b6 /include/linux/stacktrace.h | |
| parent | 9f4f2c6806851ec67a9d6426c8797c591c5d789d (diff) | |
| download | linux-b7703d7d4866424a99fc80efa070842f51b9fe66.tar.xz | |
staging: comedi: jr3_pci: use auto_attach method
This driver does not need to support manual attachment of supported PCI
devices. Replace the `attach()` hook (`jr3_pci_attach()`) with an
`auto_attach()` hook (`jr3_pci_auto_attach()`). This will be called via
`comedi_pci_auto_config()` at PCI probe time.
This driver no longer increments the PCI reference count during
attachment, so remove the call to `pci_dev_put()` when detaching the
device.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
