]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: addi-data: cleanup reading of the PCI bars
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 31 Oct 2012 23:57:52 +0000 (16:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Nov 2012 15:43:25 +0000 (08:43 -0700)
commit075e71792278b539bc9da4fa0ff40d0e372b6d75
treee05f63a3b8647425b919f1c420c0d2edaae7055d
parent5769b0cf5c5c81064984578605ad7da99c617fac
staging: comedi: addi-data: cleanup reading of the PCI bars

Read the PCI bars directly into the private data variables and
remove all the local variables used for them in addi_attach_pci().

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/addi-data/addi_common.c