From: H Hartley Sweeten Date: Tue, 18 Jun 2013 20:22:25 +0000 (-0700) Subject: staging: comedi: pcmuio: remove 'num_asic_chans' X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbe9c7929c6c0021414d61f85fe4e2f20f069e1c;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed