summaryrefslogtreecommitdiff
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2015-02-13 10:58:41 +0300
committerJonathan Cameron <jic23@kernel.org>2015-02-14 14:35:12 +0300
commite01becbad300712a28f29b666e685536f45e83bc (patch)
treef8190e5c7b2c2c46b84ae3e383d4671a17db958c /fs/ubifs/commit.c
parente765537add38cf7967efa11999bb5daf84a6517d (diff)
downloadlinux-e01becbad300712a28f29b666e685536f45e83bc.tar.xz
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>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions