Skip to content

Commit

Permalink
staging:iio:buffer scrap to_iio_buffer as it no longer has meaning.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Dec 8, 2011
1 parent f32971c commit f7ff694
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/iio/buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f7ff694

Please sign in to comment.