From: H Hartley Sweeten Date: Fri, 30 Aug 2013 18:08:50 +0000 (-0700) Subject: staging: comedi: ssv_dnp: use comedi_dio_update_state() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~767 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6b316bcd8c421acd6fa5a6e18b4c846ecb9d965;p=pandora-kernel.git staging: comedi: ssv_dnp: use comedi_dio_update_state() Use comedi_dio_update_state() to handle the boilerplate code to update the subdevice s->state. Also, fix a bug where the state of the channels is returned in data[0]. The comedi core expects it to be returned in data[1]. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed