From: H Hartley Sweeten Date: Thu, 19 Jul 2012 01:58:07 +0000 (-0700) Subject: staging: comedi: dt3000: move the setup_pci() code into the attach X-Git-Tag: v3.6-rc1~100^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5512a35b38f9cafc217ad123f9e8eea12c585208;p=pandora-kernel.git staging: comedi: dt3000: move the setup_pci() code into the attach The setup_pci() function simply calls comedi_pci_enable() to enable the device then ioremaps the pci address. Move the code directly into the attach function as is more typical for the comedi pci drivers. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed