diff options
| author | H Hartley Sweeten <[email protected]> | 2016-03-22 11:10:13 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-03-28 07:30:36 -0700 |
| commit | 87090141749ad320d937375dcec6d5b925f728c7 (patch) | |
| tree | c0bb6efc3cda8efdea146c983d3e09be34d5cdc9 /tools/perf/scripts/python | |
| parent | f9565977bf488bd4bf9ef7322728970c20bbc908 (diff) | |
staging: comedi: ni_660x: remove enum ni_register_width
All the registers are defined struct NI_660xRegisterData and they are
either 2 or 4 bytes in size. Remove the enum and just use a char member
to define the size as 2 or 4 bytes.
Simplify the ni_660x_{write,read}_register() functions and remove the
unnecessary BUG() in each.
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')
0 files changed, 0 insertions, 0 deletions