staging: comedi: amplc_dio200: Use IS_ENABLED()
authorIan Abbott <abbotti@mev.co.uk>
Thu, 31 May 2012 13:08:31 +0000 (14:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:49:19 +0000 (20:49 -0700)
commita6e11e3b9ffe994f1f2f8ab74ebdc9d1937c16e0
treeefba3aad4a8e01c98b19e676bb6f8ca8b8d32f32
parentd8967b6ed676c697da3c05ab917a8eaae7a14f81
staging: comedi: amplc_dio200: Use IS_ENABLED()

Change conditional compilation on kernel options to use the IS_ENABLED()
macro.  Remove most of the #ifdef lines and add extra if
(IS_ENABLED(xxx)) tests so the compiler can remove unreachable code.
The pci_driver stuff and device table and some of the static const data
is still conditionally compiled.

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