From: Ian Abbott Date: Tue, 6 May 2014 12:12:15 +0000 (+0100) Subject: staging: comedi: mite: pass subdevice to mite_buf_change() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~459 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b74e635d1c00b2532d32de4173115b08047229ed;p=pandora-kernel.git staging: comedi: mite: pass subdevice to mite_buf_change() `mite_buf_change()` in the "mite" module currently takes a pointer to a `struct comedi_async` and gets a pointer to the owning `struct comedi_subdevice` from the `subdevice` member. Change it to take a pointer to a `struct comedi_subdevice` and use the `async` member. The motivation for this is to eliminate the `subdevice` member of `struct comedi_async`. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed