From: H Hartley Sweeten Date: Fri, 7 Mar 2014 20:41:05 +0000 (-0700) Subject: staging: comedi: jr3_pci: remove 'n_channels' from private data X-Git-Tag: v3.15-rc1~139^2~310 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed8cd560206f0523e855d59f6bd341e5606ab5ca;p=pandora-kernel.git staging: comedi: jr3_pci: remove 'n_channels' from private data This member of the private data is actually the number of subdevices. We can get that information directly from the comedi_device. Do that instead and remove the unnecessary member from the private data. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed