diff options
author | 2011-12-05 22:18:28 +0000 | |
---|---|---|
committer | 2011-12-08 12:13:58 -0800 | |
commit | f7ff6945d0651fbeb61dc80f3b14059e808b3535 (patch) | |
tree | f28130967779b574fec105dfc0ba4f22c4c015e3 /drivers/staging/iio | |
parent | staging:iio:buffer stop allowing for read_last callback. (diff) | |
download | linux-dev-f7ff6945d0651fbeb61dc80f3b14059e808b3535.tar.xz linux-dev-f7ff6945d0651fbeb61dc80f3b14059e808b3535.zip |
staging:iio:buffer scrap to_iio_buffer as it no longer has meaning.
Now buffers do not have a specific dev structure, this is garbage.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r-- | drivers/staging/iio/buffer.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/iio/buffer.h b/drivers/staging/iio/buffer.h index 72723334f783..501d4ee0bed8 100644 --- a/drivers/staging/iio/buffer.h +++ b/drivers/staging/iio/buffer.h @@ -129,9 +129,6 @@ int iio_scan_mask_query(struct iio_buffer *buffer, int bit); **/ int iio_scan_mask_set(struct iio_buffer *buffer, int bit); -#define to_iio_buffer(d) \ - container_of(d, struct iio_buffer, dev) - /** * iio_push_to_buffer() - push to a registered buffer. * @buffer: IIO buffer structure for device |