From: H Hartley Sweeten Date: Tue, 9 Sep 2014 20:05:46 +0000 (-0700) Subject: staging: comedi: adl_pci9118: tidy up pci9118_set_chanlist() X-Git-Tag: fixes-for-v3.18-merge-window~15^2~524 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fc6c95c2fdc9c6bccf57ff15ab054530382ae76;p=pandora-kernel.git staging: comedi: adl_pci9118: tidy up pci9118_set_chanlist() Define some macros to set the 'chan' and 'range' bits in the chanlist register. Use them to tidy up this function. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed