From: H Hartley Sweeten Date: Mon, 28 Jul 2014 17:27:04 +0000 (-0700) Subject: staging: comedi: ni_tiocmd: introduce ni_tio_acknowledge() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~140 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8cfd0eb3c11337844215c5e93937c561858eb13;p=pandora-kernel.git staging: comedi: ni_tiocmd: introduce ni_tio_acknowledge() The external callers of ni_tio_acknowledge_and_confirm() only call this function to ack any pending errors or interrupts before starting a new async command. Only the internal code in ni_tiocmd uses the data that is optionally returned by this function. Remove the export from ni_tio_acknowledge_and_confirm() and introduce a new exported function that handles passing the NULL params. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed