projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f32971c
)
staging:iio:buffer scrap to_iio_buffer as it no longer has meaning.
author
Jonathan Cameron
<jic23@kernel.org>
Mon, 5 Dec 2011 22:18:28 +0000
(22:18 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 8 Dec 2011 20:13:58 +0000
(12:13 -0800)
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>
drivers/staging/iio/buffer.h
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/buffer.h
b/drivers/staging/iio/buffer.h
index
7272333
..
501d4ee
100644
(file)
--- 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