From: Ian Abbott Date: Wed, 31 Oct 2012 11:56:23 +0000 (+0000) Subject: staging: comedi: rtd520: use auto_attach instead of attach_pci X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~767 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5df395404b43cfd111c36822b2e691619a408024;p=pandora-kernel.git staging: comedi: rtd520: use auto_attach instead of attach_pci Change the rtd520 driver to use the new `auto_attach()` method in `struct comedi_driver` instead of the `attach_pci()` method. I plan to remove the `attach_pci()` and `attach_usb()` methods once nothing is using them. Tag the new `rtd520_auto_attach()` function definition with `__devinit` as it is only called during PCI probe. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed