Re: [PATCH 2/9] staging: iio: tsl2583: removed unused code from device probing

2016-11-06 Thread Jonathan Cameron
On 03/11/16 12:56, Brian Masney wrote: > 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

[PATCH 2/9] staging: iio: tsl2583: removed unused code from device probing

2016-11-03 Thread Brian Masney
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