linux/drivers/iio/humidity
Andrey Smirnov e01becbad3 IIO: si7020: Allocate correct amount of memory in devm_iio_device_alloc
Since only a pointer to struct i2c_client is stored in a private area
of IIO device created by the driver there's no need to allocate
sizeof(struct i2c_client) worth of storage.

Pushed to stable as this is linked to the revert patch previously.
Without this followup the original patch looks sensible.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Stable@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-02-14 11:35:12 +00:00
..
Kconfig IIO: add si7020 driver 2014-10-04 12:43:30 +01:00
Makefile IIO: add si7020 driver 2014-10-04 12:43:30 +01:00
dht11.c iio: dht11: IRQ fixes 2015-01-10 11:16:32 +00:00
si7005.c
si7020.c IIO: si7020: Allocate correct amount of memory in devm_iio_device_alloc 2015-02-14 11:35:12 +00:00