commit | c4ad65e6ce8a9cfe78d4c4b06b915c17a27ba011 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Jun 18 13:24:36 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 24 15:51:03 2013 -0700 |
tree | 82261d4073b595eda043e18dc501fcb1095733dc | |
parent | 021314f82405594344b857e13e0493e11dad7298 [diff] |
staging: comedi: pcmuio: remove 'iobases' from subdevice private data The 'asic' and 'port' associated with a given subdevice can easily be found based on the subdevice 'index'. With that information we can then calculate the correct iobase and register offset needed to read/ write the 8-bit ports. 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>