summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2011-12-05 22:18:28 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-08 12:13:58 -0800
commitf7ff6945d0651fbeb61dc80f3b14059e808b3535 (patch)
treef28130967779b574fec105dfc0ba4f22c4c015e3
parentf32971ce0a008979f85e16a5090790e94eea9e9b (diff)
downloadop-kernel-dev-f7ff6945d0651fbeb61dc80f3b14059e808b3535.zip
op-kernel-dev-f7ff6945d0651fbeb61dc80f3b14059e808b3535.tar.gz
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>
-rw-r--r--drivers/staging/iio/buffer.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/iio/buffer.h b/drivers/staging/iio/buffer.h
index 7272333..501d4ee 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
OpenPOWER on IntegriCloud