From: H Hartley Sweeten Date: Fri, 30 Aug 2013 18:07:35 +0000 (-0700) Subject: staging: comedi: das08: use s->state in das08_do_wbits() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~771 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4800fee7e09a948f5ad8d1eb081f7b7f503e9a61;p=pandora-kernel.git staging: comedi: das08: use s->state in das08_do_wbits() Use the subdevice 'state' variable instead of having to calculate the current state based on the do_mux_bits in the private data. Use comedi_dio_update_state() to handle the boilerplate code to update the subdevice s->state. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed