commit | ed8c80d0a4c65c062ee520cd167649b80afce16f | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Aug 12 11:41:21 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Aug 16 12:23:26 2014 -0700 |
tree | 9b94e6a4de9236f93972e058c7c2495fa386b548 | |
parent | 67393c4fef245f46863f50bc8a553f0608d7a05d [diff] |
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 <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>