[PATCH 0/2] staging: comedi: s526: add counter register macros

From: Ian Abbott
Date: Thu Nov 19 2015 - 09:49:37 EST


Add macros to describe the counter mode and counter control/status
registers. In patch 1, the macros for the counter mode register replace
the use of bitfield structure and union types.

1) staging: comedi: s526: replace counter mode bitfield struct
2) staging: comedi: s526: add macros for counter control reg values

drivers/staging/comedi/drivers/s526.c | 197 ++++++++++++++++++++++------------
1 file changed, 130 insertions(+), 67 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/