summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-03-24 14:18:03 +0100
committerJonathan Cameron <jic23@kernel.org>2016-03-28 08:51:39 +0100
commite6e45420f41fc613569e8bb6d15e0472dc0ea1ab (patch)
treef31d70478f2f2fd3a1634fe27beb1d3a6e1b86d7 /tools/perf/scripts/python/event_analyzing_sample.py
parentd1ef4f2cae6705925088047554e89c34048f926a (diff)
iio: st_sensors: simplify buffer address handling
The driver goes to some length to dynamically allocate an array to hold the channel addresses. However no ST sensor has more than three channels (x, y, z at most). Instead of kmalloc():ing and kfree():in the address array, just use a fixed array of three elements. Cc: Giuseppe Barba <giuseppe.barba@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Denis Ciocca <denis.ciocca@st.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions