From: H Hartley Sweeten Date: Wed, 23 Jan 2013 19:39:27 +0000 (-0700) Subject: staging: comedi: addi_apci_3501: simplify the PCI bar reading X-Git-Tag: v3.9-rc1~127^2~302 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bdc840224f71768c6bbe41b211f07c0778330c8;p=pandora-kernel.git staging: comedi: addi_apci_3501: simplify the PCI bar reading The board supported by this driver has an eeprom connected to an AMCC S5933 PCI controller chip. Knowing this, we can simplify the code that reads the PCI bars to get the iobase addresses used in the driver. Also, since the dw_AiBase is not ioremap'ed, we can remove the iounmap in the detach. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed