Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281422
b: refs/heads/master
c: 307276c
h: refs/heads/master
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Greg Kroah-Hartman committed Dec 22, 2011
1 parent ac1329d commit 90c80ea
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 68bc73043224fb1a5a22ff9e77a9c758b9828525
refs/heads/master: 307276cb8366d9c163160fe2775f5bfe7b9c1495
4 changes: 0 additions & 4 deletions trunk/drivers/staging/iio/Documentation/ring.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,3 @@ get_bytes_per_datum, set_bytes_per_datum
get_length / set_length
Get/set the number of complete scans that may be held by the buffer.

is_enabled
Query if ring buffer is in use
enable
Start the ring buffer.
5 changes: 0 additions & 5 deletions trunk/drivers/staging/iio/buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ struct iio_buffer;
* @set_bytes_per_datum:set number of bytes per datum
* @get_length: get number of datums in buffer
* @set_length: set number of datums in buffer
* @is_enabled: query if buffer is currently being used
* @enable: enable the buffer
*
* The purpose of this structure is to make the buffer element
* modular as event for a given driver, different usecases may require
Expand All @@ -58,9 +56,6 @@ struct iio_buffer_access_funcs {
int (*set_bytes_per_datum)(struct iio_buffer *buffer, size_t bpd);
int (*get_length)(struct iio_buffer *buffer);
int (*set_length)(struct iio_buffer *buffer, int length);

int (*is_enabled)(struct iio_buffer *buffer);
int (*enable)(struct iio_buffer *buffer);
};

/**
Expand Down

0 comments on commit 90c80ea

Please sign in to comment.