[PATCH v2 0/3]

Ian Abbott abbotti at mev.co.uk
Thu Aug 16 10:14:17 UTC 2012


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(-)



More information about the devel mailing list