]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: amplc_dio200: replace macros with inline functions
authorIan Abbott <abbotti@mev.co.uk>
Wed, 15 Aug 2012 14:31:41 +0000 (15:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2012 22:30:56 +0000 (15:30 -0700)
commitc2dea97429788d920bf51d33cba6c4cf72617726
tree3389c2e2fbeeced3b6ac4c5c3d999ccd46a46353
parent8c3714d60c0b681179000e3e1b5aae15d99e6218
staging: comedi: amplc_dio200: replace macros with inline functions

Replace the IS_ISA_BOARD() and IS_PCI_BOARD() functionlike macros with
inline functions is_isa_board() and is_pci_board().  Also call
is_pci_board() in dio200_find_pci_board() instead of an explicit
comparison operator.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200.c