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

Ian Abbott abbotti at mev.co.uk
Tue Aug 14 15:31:26 UTC 2012


A few changes to the amplc_dio200 driver.  Patches 1 and 2 define a few
macros to make the code slightly easier to read.  Patch 3 changes
dio200_detach() to use the same bus type tests as dio200_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_dio200.c |   48 +++++++++++++-----------
 1 files changed, 26 insertions(+), 22 deletions(-)



More information about the devel mailing list