From: H Hartley Sweeten Date: Mon, 29 Jul 2013 20:49:21 +0000 (-0700) Subject: staging: comedi: das16: change boardinfo 'ai_nbits' to 'ai_maxdata' X-Git-Tag: v3.12-rc1~183^2~447 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dc7c5db134dcd216003ea1be2b7b93a5169ea26;p=pandora-kernel.git staging: comedi: das16: change boardinfo 'ai_nbits' to 'ai_maxdata' The subdevice functions that used this boardinfo can use the subdevice 's->maxdata' value instead. Tidy up those functions. Change the boardinfo so that the calculation is not needed during the attach. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed