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