From: H Hartley Sweeten Date: Thu, 24 Jul 2014 17:14:35 +0000 (-0700) Subject: staging: comedi: ni_tio: convert NI_660x_Gate_Pin_Gate_Select() to a macro X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~260 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72f4202f1ff20edfcc34368488d5bd760fac57b6;p=pandora-kernel.git staging: comedi: ni_tio: convert NI_660x_Gate_Pin_Gate_Select() to a macro The BUG_ON() in this function can never happen. For aesthetics, rename this CamelCase inline function and convert it into a simple macro. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed