Re: [PATCH 1/3] staging: comedi: amplc_pc236: abbreviate IS_ENABLED()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux