aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2016-03-22 11:10:27 -0700
committerGreg Kroah-Hartman <[email protected]>2016-03-28 07:30:36 -0700
commit520e61915186e0538a8fc46e5e268a2000141545 (patch)
tree8f8602fc93b60d9ed952b7012347f998f4bcb7d1 /tools/perf/scripts/python/netdev-times.py
parent6d40805b0b4e4392e68fea0028edcafa5fcdc04a (diff)
staging: comedi: ni_660x: remove enum ni_660x_subdevices
Hard-coding the subdevice order is normally a bad idea. If a new subdevice is added, or removed, it could potentially break pretty badly. Remove the enum and associated NI_660X_GPCT_SUBDEV() helper that hard-code the subdevice order. Fix the (*auto_attach) so it initializes all the subdevices without depending on the hard-coded order. Change the interrupt handler so that all the counter subdevices are handled without depending on the hard-coded order. 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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions