diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2012-11-01 22:34:37 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-01 23:35:56 +0400 |
| commit | 19d6ce544631bd6cc1649696423715c7142e85b8 (patch) | |
| tree | 223da3c937994c2fa5fed6d51ef2c144ef19a9ca /include/linux/workqueue.h | |
| parent | 6af0cf7678de21ca4d20980debbfc852640055ae (diff) | |
| download | linux-19d6ce544631bd6cc1649696423715c7142e85b8.tar.xz | |
staging: comedi: jr3_pci: remove devpriv->pci_dev
The `pci_dev` member of `struct jr3_pci_dev_private` is used to point to
the `struct pci_dev`. This is redundant as the `struct comedi_device`
already has a pointer to the `struct device` within the `struct pci_dev`
and there is a convenient inline function, `comedi_to_pci_dev(dev)` that
returns a pointer to the `struct pci_dev`.
Remove the redundant `pci_dev` member and use alternate ways to get at
the `struct pci_dev`.
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
