diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-03-10 14:07:34 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 14:03:59 -0700 |
| commit | 19d0a872841a2714444af0ccd2a3e1d7281ef357 (patch) | |
| tree | 6980153887f0b4bece4c0080ceab8c3ee8f2f089 /tools/perf/scripts/python/bin | |
| parent | bea8052074691c70526ae6a555d25f111c0aad0a (diff) | |
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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
