From f7ff6945d0651fbeb61dc80f3b14059e808b3535 Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Mon, 5 Dec 2011 22:18:28 +0000 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/iio/buffer.h | 3 --- 1 file changed, 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 -- 2.39.5