git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bea8052
)
staging: comedi: c6xdigio: tidy up c6xdigio_pwm_write()
author
H Hartley Sweeten
<hsweeten@visionengravers.com>
Mon, 10 Mar 2014 21:07:34 +0000
(14:07 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:03:59 +0000
(14:03 -0700)
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>
No differences found