A few changes to the amplc_pc263 driver. Patches 1 and 2 define a few macros to make the code slightly easier to read. Patch 3 changes pc263_detach() to use the same bus type tests as pc263_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_pc263.c | 42 +++++++++++++++----------- 1 files changed, 24 insertions(+), 18 deletions(-) _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel