From: Ian Abbott Date: Tue, 6 May 2014 12:12:09 +0000 (+0100) Subject: staging: comedi: pass subdevice to comedi_buf_read_n_available() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~465 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9edef3a5454a19fd0d0c342cc88b6310b871a48;p=pandora-kernel.git staging: comedi: pass subdevice to comedi_buf_read_n_available() Change the parameters of `comedi_buf_read_n_available()` to pass a pointer to the comedi subdevice instead of a pointer to the "async" structure belonging to the subdevice. The main aim at the moment is to replace all the `struct comedi_async *` parameters with `struct comedi_subdevice *` parameters in the comedi driver API. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed