From: Lars-Peter Clausen Date: Tue, 3 Jan 2012 13:59:39 +0000 (+0100) Subject: staging:iio:events: Use kfifo for event queue X-Git-Tag: v3.4-rc1~186^2~176^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c00193fa15dc51566dc7931fe32184c99c6b317;p=pandora-kernel.git staging:iio:events: Use kfifo for event queue The current IIO event code uses a list to emulate FIFO like behavior. Just use a kfifo directly instead to implement the event queue. As part of this patch the maximum of events in the queue is increased from 10 to 16 since kfifo requires a power of two for the number of FIFO elements. Signed-off-by: Lars-Peter Clausen Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed