commit | dbe9c7929c6c0021414d61f85fe4e2f20f069e1c | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Jun 18 13:22:25 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 24 15:51:01 2013 -0700 |
tree | df40105fde5aba0898de2defc52b45aa38e78320 | |
parent | d9990ceacc39b4320661adf7778538858a5c4bad [diff] |
staging: comedi: pcmuio: remove 'num_asic_chans' This member of the subdevice private data is always initialize to s->n_chan if the subdevice supports interrupts and is only used in functions that can be called by the interrupt subdevice. Simplyfy the driver a bit by removing it and just using s->n_chan. 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>