commit | a6e11e3b9ffe994f1f2f8ab74ebdc9d1937c16e0 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Thu May 31 14:08:31 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 04 20:49:19 2012 -0700 |
tree | efba3aad4a8e01c98b19e676bb6f8ca8b8d32f32 | |
parent | d8967b6ed676c697da3c05ab917a8eaae7a14f81 [diff] |
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>