staging: comedi: adl_pci6208: remove pci6208_pci_setup()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 27 Jun 2012 21:58:03 +0000 (14:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:40:03 +0000 (15:40 -0700)
commitdb7c275d9ffd2c58648b1bf023ab62cf993ddfac
tree64f29dd331ef56d32624cc0f553cf2b8f0904807
parenta28c98524c2634a5d84151de253ee7e99e38564d
staging: comedi: adl_pci6208: remove pci6208_pci_setup()

Refactor pci6208_pci_setup() into the attach function. This
function simply enables the pci device and gets the PCI iobase
address used by the driver. There's no need for a separate
function to handle this.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci6208.c