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