diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-07-24 10:14:52 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-27 11:16:48 -0700 |
| commit | 25e529b0f45ce88a6d8f82c6bf43503040617c57 (patch) | |
| tree | 43efd2b6a01a366f69bccb470aa602cf9c2f05c0 /tools/perf/scripts/python | |
| parent | 8477c5d4ba0d7ff04d346c5cb104d06a62adddae (diff) | |
staging: comedi: ni_tio: tidy up ni_tio_init_counter()
This function is called to initialize/reset a gpct counter during a
comedi drivers (*attach).
For aesthetics, move this exported function toward the end of the file.
Tidy up the functions a bit by just open coding the '0x0' values used
to initialize some of 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
