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>
This commit is contained in:
Jonathan Cameron 2011-12-05 22:18:28 +00:00 committed by Greg Kroah-Hartman
parent f32971ce0a
commit f7ff6945d0
1 changed files with 0 additions and 3 deletions

View File

@ -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