[PATCH 1/3] staging: comedi: amplc_pc236: abbreviate IS_ENABLED()
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Wed Aug 15 22:29:36 UTC 2012
On Wed, Aug 15, 2012 at 01:46:48PM +0100, Ian Abbott wrote:
> The IS_ENABLED(CONFIG_COMEDI_AMPLC_PC236_ISA) and
> IS_ENABLED(CONFIG_COMEDI_AMPLC_PC236_PCI) macro calls are a bit
> long-winded. Define a couple of macros DO_ISA and DO_PCI as
> abbreviations for them.
Same comment here, this isn't all that much better, use a function
instead please.
greg k-h
More information about the devel
mailing list