From: H Hartley Sweeten Date: Wed, 6 Feb 2013 00:24:45 +0000 (-0700) Subject: staging: comedi: vmk80xx: cleanup analog input subdevice init X-Git-Tag: v3.9-rc1~127^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=658cd3ac2e31d637f50402611976bdaab74c28f8;p=pandora-kernel.git staging: comedi: vmk80xx: cleanup analog input subdevice init Change the 'ai_bits' in the boardinfo to 'ai_maxdata' so that the calculation of s->maxdata can be removed. Change the types for the analog input boardinfo to match the comedi_subdevice types they are set to. Rename the (*insn_read) function for the analog input subdevice from vmk80xx_ai_rinsn to vmk80xx_ai_insn_read to make grepping easier. For aesthetic reasons, add some whitespace to the subdevice init. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed