From: Ian Abbott Date: Thu, 31 May 2012 13:08:31 +0000 (+0100) Subject: staging: comedi: amplc_dio200: Use IS_ENABLED() X-Git-Tag: v3.6-rc1~100^2~981 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6e11e3b9ffe994f1f2f8ab74ebdc9d1937c16e0;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed