[PATCH 0/3] staging: comedi: amplc_pc236 bus type macros

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

 



A few changes to the amplc_pc236 driver.  Patches 1 and 2 define a few
macros to make the code slightly easier to read.  Patch 3 changes
pc236_detach() to use the same bus type tests as pc236_attach().

[PATCH 1/3] abbreviate IS_ENABLED()
[PATCH 2/3] add helper macros to check bus type
[PATCH 3/3] check bus type in detach routine

 drivers/staging/comedi/drivers/amplc_pc236.c |   49 ++++++++++++++-----------
 1 files changed, 27 insertions(+), 22 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