From: H Hartley Sweeten Date: Fri, 18 Jan 2013 00:38:01 +0000 (-0700) Subject: staging: comedi: addi_apci_2200: simplify the PCI bar reading X-Git-Tag: v3.9-rc1~127^2~401 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0ba8a299049d3c997b69a7cee23a1432aac9417;p=pandora-kernel.git staging: comedi: addi_apci_2200: simplify the PCI bar reading The board supported by this driver has a 93x76 eeprom. Knowing this information allows simplifying the code that reads the PCI bars to get the iobase addresses. 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