diff options
| author | H Hartley Sweeten <[email protected]> | 2014-11-04 10:54:57 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-11-07 09:34:03 -0800 |
| commit | 28215c69885fa86be8b5e8f7269edfb4f8c1c480 (patch) | |
| tree | 1971a0f3a8be49ea2f4687d6e2011bf9ed03dad4 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | fdeb2f548790074dd7f9c39275b727ad00600af8 (diff) | |
staging: comedi: addi_apci_3120: tidy up devpriv->mode in apci3120_ai_cmd()
There is no reason for the separate updates of the mode register in this
function. Refactor the code so that the mode register is only updated at
the end of the function after all the necessary bits have been set.
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions