linux/drivers/iio/common
Linus Walleij e6e45420f4 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>
2016-03-28 08:51:39 +01:00
..
hid-sensors hid-sensor: Fix suspend/resume delay 2015-06-02 22:15:26 +01:00
ms_sensors iio:measurement specialties core: Fix endian sparse warnings. 2015-10-12 18:21:13 +01:00
ssp_sensors spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
st_sensors iio: st_sensors: simplify buffer address handling 2016-03-28 08:51:39 +01:00
Kconfig Add meas-spec sensors common part 2015-10-04 14:58:02 +01:00
Makefile Add meas-spec sensors common part 2015-10-04 14:58:02 +01:00