From: H Hartley Sweeten Date: Thu, 4 Sep 2014 19:14:13 +0000 (-0700) Subject: staging: comedi: adl_pci9118: tidy up analog output register defines X-Git-Tag: fixes-for-v3.18-merge-window~15^2~682 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6908517f23baedaca31dbe738230bda9ffa377a;p=pandora-kernel.git staging: comedi: adl_pci9118: tidy up analog output register defines Replace the current defines with a macro that calculates the correct register offset based on the channel. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed