summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorDenis Ciocca <denis.ciocca@st.com>2019-08-05 11:57:11 -0700
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-08-11 09:26:04 +0100
commite031d5f558f1535968df1ecae8d734b84c17f78d (patch)
tree663fb1b5ab579c6486d387e5dabe3ab747535e86 /include/linux/debugobjects.h
parent854da7511a05c9a05a4f28fb2225349380520b96 (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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions