From: H Hartley Sweeten Date: Tue, 27 May 2014 17:30:47 +0000 (-0700) Subject: staging: comedi: amplc_dio200_common: use comedi_cmd pointer X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71ba7506f05e6512e4b25df2233fa238025399d5;p=pandora-kernel.git staging: comedi: amplc_dio200_common: use comedi_cmd pointer Use the local variable to access the comedi_cmd as a pointer in dio200_read_scan_intr() instead of getting to it from the comedi_subdevice pointer. Remove the unnecessary local variable 'len', this is just the cmd->chanlist_len. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed