From: H Hartley Sweeten Date: Mon, 20 Oct 2014 18:34:17 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: remove private data 'iobase' X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~809 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=695f34cef33421ac89dd77e5e047e131bb3f36c0;p=pandora-kernel.git staging: comedi: addi_apci_3120: remove private data 'iobase' This member of the private data holds the start address of PCI BAR 1 that is used to access the board registers. The start address is also stored in the comedi_device 'iobase' member. Use that instead and remove the private data member. Remove some unnecessary casts when reading the board registers. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed