mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
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 <[email protected]> Cc: [email protected] Signed-off-by: Jonathan Cameron <[email protected]>