From: Ian Abbott Date: Tue, 6 May 2014 12:12:06 +0000 (+0100) Subject: staging: comedi: pass subdevice to comedi_buf_write_n_allocated() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~468 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f1f34e844a24187270315ffb539d4bd1900c333;p=pandora-kernel.git staging: comedi: pass subdevice to comedi_buf_write_n_allocated() Change the parameters of `comedi_buf_write_n_allocated()` 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