summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2012-11-01 22:34:35 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-01 23:35:56 +0400
commitb7703d7d4866424a99fc80efa070842f51b9fe66 (patch)
tree1f57f0dd28a0026ece42c70a3c593dc108d1c0b6 /include/linux/workqueue.h
parent9f4f2c6806851ec67a9d6426c8797c591c5d789d (diff)
downloadlinux-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/workqueue.h')
0 files changed, 0 insertions, 0 deletions