From: H Hartley Sweeten Date: Tue, 12 Aug 2014 18:41:22 +0000 (-0700) Subject: staging: comedi: daqboard2000: tidy up daqboard2000_8255_cb() X-Git-Tag: fixes-for-v3.18-merge-window~15^2~1216 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4e29703c790ee1045a0c0b7181c948b9a45636a;p=pandora-kernel.git staging: comedi: daqboard2000: tidy up daqboard2000_8255_cb() The 8255 driver (*io) callback now includes the comedi_device pointer. Using this we can get the ioremap'ed base address. Instead of passing the (cast) mmio address to subdev_8255_init(), pass the 'iobase' of the 8255 registers (dioP2ExpansionIO8Bit). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed