From: H Hartley Sweeten Date: Tue, 29 Jul 2014 22:01:39 +0000 (-0700) Subject: staging: comedi: ni_labpc: pass comedi_device to the I/O callbacks X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac482be4b6312263ffd5101dc5e560d55c00b571;p=pandora-kernel.git staging: comedi: ni_labpc: pass comedi_device to the I/O callbacks This driver uses some callbacks in the private data to handle the port mapped or memory mapped I/O used to access the hardware. Pass the comedi_device pointer to the helper functions so that the base address can be found and does not need to be included in each call. Also, remove the inline from the helper functions. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed