From: H Hartley Sweeten Date: Tue, 11 Sep 2012 02:00:46 +0000 (-0700) Subject: staging: comedi: adl_pci9111: use local variables for the chan/range X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~378 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae479ee562cf3d7d33eebbb30e6c3105475ed5b8;p=pandora-kernel.git staging: comedi: adl_pci9111: use local variables for the chan/range Simplify the chan/range in pci9111_ai_insn_read() by using local variables for hold the values and by just passing insn->chanspec to the CR_* macros instead of using (&insn->chanspec)[0]. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed