commit | cfd5fed2004c4c48247ae7766f8705ec2438a2ce | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Jul 24 10:14:37 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jul 27 11:16:47 2014 -0700 |
tree | 58c69a8c2d60c1284d1b850b8396e74dae4abeb1 | |
parent | 5f8c74429a5f328ab541ddce31d578807e5bcf9c [diff] |
staging: comedi: ni_tio: convert NI_M_Series_RTSI_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 <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>