[PATCH v2 0/3]

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

 



A few changes to the amplc_pc263 driver.  Patch 1 adds a couple of
helper functions to check the bus type and hide the IS_ENABLED() stuff.
Patch 2 changes pc263_detach() to use the same bus type tests as
pc263_attach().  Patch 3 defines a couple of macros to abbreviate the
IS_ENABLED() macro calls.

v2: Uses inline functions instead of functionlike macros and changes the
order of the patches so that the "abbreviate IS_ENABLED()" patch can be
discarded if not wanted.

1: amplc_pc263: add helper functions to check bus type
2: amplc_pc263: check bus type in detach routine
3: amplc_pc263: abbreviate IS_ENABLED()

 drivers/staging/comedi/drivers/amplc_pc263.c |   52 ++++++++++++++++---------
 1 files changed, 33 insertions(+), 19 deletions(-)
_______________________________________________
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