From: H Hartley Sweeten Date: Fri, 30 Nov 2012 01:16:45 +0000 (-0700) Subject: staging: comedi: addi_apci_2032: simplify the PCI bar reading X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70ff406599a5debfa6e5ef243e5e093f63a9ed69;p=pandora-kernel.git staging: comedi: addi_apci_2032: simplify the PCI bar reading The board supported by this driver has a 93c76 eeprom. Knowing this information allows simplifying the code that reads the PCI bars to get the iobase address. 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