commit | e04460a650e10afb891b941c0a58545b1f2f5963 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Jul 24 10:14:42 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jul 27 11:16:47 2014 -0700 |
tree | 84a809b879158016be05238d19927410bfb37fb2 | |
parent | ff9a9861154e5f8cebeb981b86ee194cfef00ede [diff] |
staging: comedi: ni_tio: convert NI_660x_Up_Down_Pin_Second_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>