]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: cb_das16_cs: define the misc1 and misc2 register bits
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 12 Oct 2015 23:07:05 +0000 (16:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 17:26:19 +0000 (10:26 -0700)
commit6591c8af10771f28c42c9327f1a80232d8ed5286
tree8ed30a7e84418565cd8a4b991d09293caacb22a7
parentccb784a41a7a99c53f0991f19e5541959c9a2056
staging: comedi: cb_das16_cs: define the misc1 and misc2 register bits

Define the bits in these registers and use them to remove the "magic"
values in the driver.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_das16_cs.c