summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-03-10 21:07:34 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-17 21:03:59 (GMT)
commit19d0a872841a2714444af0ccd2a3e1d7281ef357 (patch)
tree6980153887f0b4bece4c0080ceab8c3ee8f2f089 /security
parentbea8052074691c70526ae6a555d25f111c0aad0a (diff)
downloadlinux-19d0a872841a2714444af0ccd2a3e1d7281ef357.tar.xz
staging: comedi: c6xdigio: tidy up c6xdigio_pwm_write()
The 10-bit pwm value (2-498) is written by banging 2-bits in the data register. Refactor this function to remove the need for the union pcmcmdtype and struct pwmbitstype. 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 'security')
0 files changed, 0 insertions, 0 deletions