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

Hartley Sweeten HartleyS at visionengravers.com
Thu Nov 19 17:34:35 UTC 2015


On Thursday, November 19, 2015 7:49 AM, Ian Abbott wrote:
> 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(-)

Thanks! This one has bugged me.

Reviewed-by: H Hartley Sweeten <hsweeten at visionengravers.com>



More information about the devel mailing list