staging:iio: update example to handle case with no ring events
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 11 Feb 2011 13:09:12 +0000 (13:09 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Feb 2011 21:22:51 +0000 (13:22 -0800)
commit30268a3da9325a2267cfc99efae7c192fa88199f
tree60a4e75a8838854eca1e3a538c11c4e89c360b7b
parentb949793b2c319b9ea3c2594aab203664caf2923e
staging:iio: update example to handle case with no ring events

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Tested-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/Documentation/generic_buffer.c