From: H Hartley Sweeten Date: Tue, 9 Sep 2014 20:05:45 +0000 (-0700) Subject: staging: comedi: adl_pci9118: absorb pci9118_ai_set_range_aref() X-Git-Tag: fixes-for-v3.18-merge-window~15^2~525 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7a078e9cd8e92a989e5afa524e4d9f945e58c75;p=pandora-kernel.git staging: comedi: adl_pci9118: absorb pci9118_ai_set_range_aref() This function is called by the analog input (*insn_read) and (*do_cmd) operations. The pci9118_set_chanlist() function is also called by those operations. Setting the range and aref logically belongs with setting the chanlist. To clarify the code, absorb pci9118_ai_set_range_aref() into pci9118_set_chanlist(). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed