aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2014-07-14 12:23:47 -0700
committerGreg Kroah-Hartman <[email protected]>2014-07-16 13:24:42 -0700
commit47277365195c9722534e1ff3d4c10d36a77858e4 (patch)
tree53e1bc1046da80adfdfdad561efa9e2be9f86a99 /tools/perf/scripts/python/netdev-times.py
parentab15dce7e963c115cc063643cd6f50c55b606268 (diff)
staging: comedi: ni_mio_common: remove some unnecessary boardinfo access
Currently ni_m_series_ao_config_chanlist() gets the boardinfo pointer in order to get the number of analog output channels. Get this from the comedi_subdevice instead. The ni_old_ao_config_chanlist() function also gets the boardinfo pointer to get the analog output resolution, 'aobits', in order to calculate the value needed to convert samples from unsigned to two's complement for bipolar ranges. Use the comedi_subdevice 'maxdata' instead. 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