From: H Hartley Sweeten Date: Sat, 8 Sep 2012 00:39:50 +0000 (-0700) Subject: staging: comedi: me4000: remove struct me4000_dio_info X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~551 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=898f51910d38053eb12e0adc7c04119e6ad8ac6e;p=pandora-kernel.git staging: comedi: me4000: remove struct me4000_dio_info The me4000_dio_info in the boardinfo struct is used to indicate the number of 8 bit dio ports the the board has. Add a 'dio_nchan' field to struct me4000_board and remove the struct me4000_dio_info. The 'dio_nchan' value can then be used directly in the attach of the board when setting the subdevice number of channels. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed