commit | 38d15f06f942306050a063abd111467d39c5cc37 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@cam.ac.uk> | Wed May 18 14:42:23 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu May 19 16:15:03 2011 -0700 |
tree | 845d3de4cdc07833e51ed906c23b42980376232e | |
parent | 59c85e82c2e7a672cb4342dc5ccf9df8a3a14f73 [diff] |
staging:iio:imu:adis16400 avoid allocating rx, tx, and state separately from iio_dev. Uses the iio_allocate_device parameter to set aside space for adis16400_state and ____cacheline_aligned buffers for tx and rx to avoid separatel allocating them. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>