From: H Hartley Sweeten Date: Wed, 19 Sep 2012 23:21:49 +0000 (-0700) Subject: staging: comedi: me_daq: use attach_pci callback X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94174847ea41b1c2a44d997f2850530fb33f41cd;p=pandora-kernel.git staging: comedi: me_daq: use attach_pci callback Convert this PCI driver to use the comedi PCI auto config attach mechanism by adding an 'attach_pci' callback function. Since the driver does not require any external configuration options. and the legacy 'attach' callback is now optional, remove it. Also, make the boardinfo 'name' unique for the different board types. Use this name when requesting the PCI resources. Change the printk at the end of the attach into a dev_info. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed