commit | 72f4202f1ff20edfcc34368488d5bd760fac57b6 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Jul 24 10:14:35 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jul 27 11:16:47 2014 -0700 |
tree | 78af7780f413b9d0a69de76901a05635a9b87f59 | |
parent | 1649d56d92ff85b56c7af9b385fa729487277e94 [diff] |
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 <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>