staging:iio:meter:ade7758 switch from sw_ring to kfifo
authorJonathan Cameron <jic23@kernel.org>
Fri, 30 Nov 2012 14:22:00 +0000 (14:22 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 26 Jan 2013 10:07:52 +0000 (10:07 +0000)
commit94f3c7cd829319317a95649cd43abb07c188c191
tree5013d9d5b4762177037c1a07e928f2c59480af4a
parent032658a446145b9e6af7f90521179a9e0111b546
staging:iio:meter:ade7758 switch from sw_ring to kfifo

sw ring is going away so switch over to kfifo based buffer implementation.
The only real change is that poll will return on some data there rather than
buffer 50% full.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/meter/Kconfig
drivers/staging/iio/meter/ade7758_ring.c