aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2014-07-14 12:06:55 -0700
committerGreg Kroah-Hartman <[email protected]>2014-07-16 13:22:49 -0700
commit11d892cc8c71f540fc50552a250a2975ac968611 (patch)
treeaa4167a3e73aab0482640437321328b478f406ad /tools/perf/scripts/python/bin
parent8405e40e841bda3aa4a261fbb278bb2fb031358c (diff)
staging: comedi: ni_65xx: remove 'dio_direction' from private data
The IO Select registers are readable. Remove the need for the 'dio_direction' member in the private data by just checking the register value for the INSN_CONFIG_DIO_QUERY instruction. Also, refactor the switch statement to return -EINVAL for unhandled instructions and have the (*insn_config) return insn->n normally. 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