From: H Hartley Sweeten Date: Fri, 30 Aug 2013 18:05:58 +0000 (-0700) Subject: staging: comedi: drivers: use comedi_dio_update_state() for simple cases X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~776 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97f4289ad08cffe55de06d4ac4f89ac540450aee;p=pandora-kernel.git staging: comedi: drivers: use comedi_dio_update_state() for simple cases Use comedi_dio_update_state() to handle the boilerplate code to update the subdevice s->state for simple cases where the hardware is updated when any channel is modified. Also, fix a bug in the amplc_pc263 and amplc_pci263 drivers where the current state is not 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