From: H Hartley Sweeten Date: Wed, 31 Oct 2012 23:57:37 +0000 (-0700) Subject: staging: comedi: addi-data: use attach_pci callback X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~723 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41be28db534330192bbbec9783e6d43d4432a7fb;p=pandora-kernel.git staging: comedi: addi-data: use attach_pci callback Use the comedi pci auto config mechanism to attach the addi-data drivers. This allows removing all the PCI bus walking code. Add a function, addi_find_boardinfo(), to find the driver specific boardinfo. Since this function is currently in the common code we have to use the pointer to the boardinfo that is stored in the comedi_driver pointer. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed