From: H Hartley Sweeten Date: Tue, 1 Oct 2013 22:11:00 +0000 (-0700) Subject: staging: comedi: ni_6527: tidy up ni6527_{di, do}_insn_bits() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~473 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33b73a35a25152aea0a5df78f2bddcfde3115180;p=pandora-kernel.git staging: comedi: ni_6527: tidy up ni6527_{di, do}_insn_bits() The digital input and output ports are different. Split the CamelCase Port_Register() define into separate NI6527_DI_REG() and NI6527_DO_REG() defines to make this clear. Tidy up the functions a bit. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed