aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrian Masney <[email protected]>2016-11-03 08:56:13 -0400
committerJonathan Cameron <[email protected]>2016-11-06 11:46:11 +0000
commit6bd0cb2b594b4a735301245cf9387c9c671e6168 (patch)
tree506a1af3b90dccfe6579eec53b1e9585ebaf4d29 /tools/perf/scripts/python
parent6ba5dee90b2483f8a78081376f56e6b65c10ea92 (diff)
staging: iio: tsl2583: removed unused code from device probing
taos_probe() queries the all of the sensor's registers and loads all of the values into a buffer stored on the stack. Only the chip ID register was actually used. Change the probe function to just query the chip ID register on the device. Verified that the driver still functions correctly using a TSL2581 hooked up to a Raspberry Pi 2. Signed-off-by: Brian Masney <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions