summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-10-07 03:23:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-13 08:56:26 +0300
commit16aa2a66050607a3728173ad64a1830a23120b2f (patch)
tree35927b91e22e7a78e1f68fa8cd617cc65e283826 /drivers/gpu
parentabd2541f3900f058fffdd89dac125b5fd48a0037 (diff)
downloadlinux-16aa2a66050607a3728173ad64a1830a23120b2f.tar.xz
staging: comedi: me_daq: tidy up dac control register defines
Redefine the dac control register bits as macros that take the channel number and return the correct bit values. This register needs to be read after the new values are written in order to actually update the dac. For aesthetics, use the same define to read and write the registers. 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>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions