linux/drivers/iio
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
..
accel iio: mma8452: use runtime pm instead of device specific autosleep 2016-03-20 10:27:23 +00:00
adc iio: ina2xx-adc: update the CALIB. register when RShunt changes 2016-03-21 19:00:11 +00:00
amplifiers spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
buffer iio: buffer-dmaengine: Use dmaengine_terminate_sync() 2016-02-09 21:05:17 +00:00
chemical iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
common iio: st_sensors: simplify buffer address handling 2016-03-28 08:51:39 +01:00
dac iio: dac: add NXP LPC18xx DAC driver 2016-03-12 18:12:37 +00:00
dummy Second set of IIO new drivers, functionality and cleanups for the 4.5 cycle. 2015-12-26 17:03:33 -08:00
frequency spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
gyro iio: st_sensors: support active-low interrupts 2016-01-10 12:35:32 +00:00
health iio: health/afe4404: mark suspend/resume functions __maybe_unused 2016-02-17 19:36:01 +00:00
humidity iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
imu iio: imu: mpu6050: Fix name/chip_id when using ACPI 2016-03-20 10:39:49 +00:00
light iio: light: tsl2563: Remove flush_scheduled_work 2016-03-20 11:04:49 +00:00
magnetometer iio:magnetometer:ak8975: fix missing regulator_disable 2016-03-20 11:06:15 +00:00
orientation
potentiometer iio: potentiometer: tpl0102: change i2c functionality return code 2016-03-05 14:00:57 +00:00
pressure iio:pressure:ms5611: fix missing regulator_disable 2016-03-20 11:02:40 +00:00
proximity iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
temperature iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
trigger iio: trigger: Introduce IIO hrtimer based trigger 2015-12-03 18:19:27 +00:00
iio_core_trigger.h
iio_core.h
industrialio-buffer.c iio: Add helper function for calculating scan index storage size 2016-02-06 18:21:35 +00:00
industrialio-configfs.c iio:configfs: Introduce iio/configfs.h to provide a location for the configfs_subsystem 2015-12-05 16:25:30 +00:00
industrialio-core.c iio: core: implement iio_device_{claim|release}_direct_mode() 2016-03-12 11:17:19 +00:00
industrialio-event.c iio: event: Remove negative error code from iio_event_poll 2015-08-12 19:26:39 +01:00
industrialio-sw-trigger.c iio: core: fix ptr_ret.cocci warnings 2016-01-20 17:09:18 -08:00
industrialio-trigger.c iio: Support triggered events 2015-08-27 20:47:09 +01:00
industrialio-triggered-event.c iio: Support triggered events 2015-08-27 20:47:09 +01:00
inkern.c First set of IIO fixes for the 4.5 cycle. 2016-02-01 13:07:38 -08:00
Kconfig iio: light: add MAX30100 oximeter driver support 2015-12-12 12:14:37 +00:00
Makefile iio: light: add MAX30100 oximeter driver support 2015-12-12 12:14:37 +00:00