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