Re: [PATCH v4 23/26] staging: iio: tsl2583: remove unnecessary memset call

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > The entries in the lux table (als_device_lux) can be updated via sysfs > through the function in_illuminance_lux_table_store(). The last row in > the table must be terminated with values that are zero. The sysfs code > already ensures that the last row is

Re: [PATCH v4 23/26] staging: iio: tsl2583: remove unnecessary memset call

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > The entries in the lux table (als_device_lux) can be updated via sysfs > through the function in_illuminance_lux_table_store(). The last row in > the table must be terminated with values that are zero. The sysfs code > already ensures that the last row is

[PATCH v4 23/26] staging: iio: tsl2583: remove unnecessary memset call

2016-11-12 Thread Brian Masney
The entries in the lux table (als_device_lux) can be updated via sysfs through the function in_illuminance_lux_table_store(). The last row in the table must be terminated with values that are zero. The sysfs code already ensures that the last row is all zeros. The call to memset to clear out the

[PATCH v4 23/26] staging: iio: tsl2583: remove unnecessary memset call

2016-11-12 Thread Brian Masney
The entries in the lux table (als_device_lux) can be updated via sysfs through the function in_illuminance_lux_table_store(). The last row in the table must be terminated with values that are zero. The sysfs code already ensures that the last row is all zeros. The call to memset to clear out the