]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: ni_tio: convert NI_660x_Source_Pin_Clock() to a macro
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 24 Jul 2014 17:14:39 +0000 (10:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 18:16:47 +0000 (11:16 -0700)
commit6159dd7919b2f1b6d76933921092a9a0e3fdc7f1
treecb1f041111bcb23b045b1a3ad848c4919c6b2152
parent08607abd0578236b2371f7984d54938ee7a49968
staging: comedi: ni_tio: convert NI_660x_Source_Pin_Clock() 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>
drivers/staging/comedi/drivers/ni_tio.c