summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten2013-12-06 09:43:02 -0700
committerGreg Kroah-Hartman2013-12-06 13:10:02 -0800
commit741ba8cdf0e938d131b49fda37f80057286e459b (patch)
tree1d9f185306cf558949a4978feede58d999760a63 /tools/perf/scripts/python
parent099ec87df0ff7c2c66173876a9b8910aafb7ca39 (diff)
staging: comedi: pcmuio: tidy up pcmuio_handle_asic_interrupt()
Unfortunatly, since there could be two asics, we can't use dev->read_subdev to get the subdevice. But, the comedi_subdevice associated with the 'asic' can easily be calculated. This allows removing the for () loop that searched for the correct subdevice. Tidy up the function. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions