From: H Hartley Sweeten Date: Tue, 18 Jun 2013 20:23:46 +0000 (-0700) Subject: staging: comedi: pcmuio: simplify 'n_subdevs' and 's->n_chan' X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c87e1f26054388b661298a61e906a03fa2cd193e;p=pandora-kernel.git staging: comedi: pcmuio: simplify 'n_subdevs' and 's->n_chan' The number of subdevices needed by the driver is based on the 'num_asics' reported by the boardinfo and each subdevice always has 24 channels. Simplify the attach a bit. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed