From 5fc6c95c2fdc9c6bccf57ff15ab054530382ae76 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Tue, 9 Sep 2014 13:05:46 -0700 Subject: [PATCH] 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-format-patch failed