diff options
| author | H Hartley Sweeten <[email protected]> | 2014-11-04 10:55:06 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-11-07 09:34:04 -0800 |
| commit | 884218c5a3ab3ebc522b53054019844dcac5fca7 (patch) | |
| tree | 4f873dd2dc4f504e7e201dec5cfde788ef75f67c /tools/perf/scripts/python/bin | |
| parent | 994211b6ffe85a92335e199249956a06eac301fe (diff) | |
staging: comedi: addi_apci_3120: tidy up apci3120_reset()
This function is only called during the attach of the driver and it's
called after the private data has been kzalloc'd. There is no reason
to clear any of the private data members.
Simplify the function by just writing '0' to the necessary registers
to disable all the interrupt sources and stop the timers.
For aesthetics, change the return type to void.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions