diff options
author | Denis Ciocca | 2019-08-05 11:57:11 -0700 |
---|---|---|
committer | Jonathan Cameron | 2019-08-11 09:26:04 +0100 |
commit | e031d5f558f1535968df1ecae8d734b84c17f78d (patch) | |
tree | 663fb1b5ab579c6486d387e5dabe3ab747535e86 /.mailmap | |
parent | 854da7511a05c9a05a4f28fb2225349380520b96 (diff) |
iio:st_sensors: remove buffer allocation at each buffer enable
This patch is removing the buffer allocation at each buffer enable.
We just allocate enough memory in the main structure during probe
to cover maximum size needed (that anyway is pretty small) [16bytes].
Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions