]> git.karo-electronics.de Git - karo-tx-linux.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)
commit6f2e618c3bd58d6d54e25564b25d18a7a332bd0a
tree8ed30a7e84418565cd8a4b991d09293caacb22a7
parent95ea3e760ef8e0c2171025429f989cf44075a91f
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