diff options
| author | H Hartley Sweeten <[email protected]> | 2013-12-05 16:54:10 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-12-06 13:10:03 -0800 |
| commit | 4344158f3ea32eefd4942915c76d35afdc11b76e (patch) | |
| tree | 9fad08284a5d03ee67cf78886b387d269f205ce6 /tools/perf/scripts/python | |
| parent | d3d2d75da52982968ddb25f715c86c65dde04903 (diff) | |
staging: comedi: pcmuio: add inline helpers to get the 'iobase', 'asic', and 'port'
To reduce the potential for bugs, and better document the code, introduce
some inline helper functions to consolidate the calculations needed to get
the 'iobase' for a given asic and the 'asic' and 'port' associated with a
given subdevice.
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: 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