From: H Hartley Sweeten Date: Fri, 20 Jun 2014 18:10:33 +0000 (-0700) Subject: staging: comedi: mite.h: remove mite_irq() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1291 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba9d29fe102d4b4e388ba510f4a71b8b737144b9;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed