diff options
| author | H Hartley Sweeten <[email protected]> | 2016-03-23 15:36:43 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-03-28 07:30:36 -0700 |
| commit | 73b2d13607f075ff27abbf75d57320a8b9f82461 (patch) | |
| tree | 0f8db812f6ae8c4ed13846cba292810d97e2d952 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | f4e0331f3050f051ad0e8818635fc157cf354713 (diff) | |
staging: comedi: ni_tio_internal: simplify ni_tio_counting_mode_registers_present()
Only the e series gpct variant does not have counting mode registers.
Simplfy this function. For aesthetics, return bool instead of int.
This fixes the checkpatch.pl issues:
CHECK: spaces preferred around that '*' (ctx:ExV)
CHECK: Avoid crashing the kernel - try using WARN_ON & recovery code
rather than BUG() or BUG_ON()
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