From: H Hartley Sweeten Date: Fri, 30 Aug 2013 18:06:17 +0000 (-0700) Subject: staging: comedi: drivers: use comedi_dio_update_state() for complex cases X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~775 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3ff824a81e8978deb56f6d163479c1a0a606037;p=pandora-kernel.git staging: comedi: drivers: use comedi_dio_update_state() for complex cases Use comedi_dio_update_state() to handle the boilerplate code to update the subdevice s->state for more complex cases where the hardware is only updated based on the 'mask' of the channels that are modified. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed