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

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

 



On Wed, Aug 15, 2012 at 01:44:35PM +0100, Ian Abbott wrote:
> The IS_ENABLED(CONFIG_COMEDI_AMPLC_PC263_ISA) and
> IS_ENABLED(CONFIG_COMEDI_AMPLC_PC263_PCI) macro calls are a bit
> long-winded.  Define a couple of macros DO_ISA and DO_PCI as
> abbreviations for them.

Ick, any chance you can do the same inline function think you did for
the amplc_dio200 driver here as well?  Using something like DO_ISA,
isn't all that much better :(

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