diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-06-20 11:10:33 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-29 14:17:59 -0700 |
| commit | ba9d29fe102d4b4e388ba510f4a71b8b737144b9 (patch) | |
| tree | f03764fafc4668bc077ddede733e637639c3ad0e /include/linux/stringify.h | |
| parent | d1296561a49aa3981520147cf146a5812c77a08c (diff) | |
staging: comedi: mite.h: remove mite_irq()
This inline function simply returns the 'irq' of the struct pci_dev pointer
that is stored in struct mite_struct. This pci_dev pointer is the same as
the one that is already available in the (*auto_attach) functions where
mite_irq() is used.
Use the pci_dev pointer directly to get the irq and remove the unnecessary
inline function to remove the indirection.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
