From: H Hartley Sweeten Date: Thu, 16 Aug 2012 00:32:53 +0000 (-0700) Subject: staging: comedi: contec_pci_dio: cleanup contec_do_insn_bits X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~911 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00d7a906cdd05b76b059102cacf98cfb853fa109;p=pandora-kernel.git staging: comedi: contec_pci_dio: cleanup contec_do_insn_bits Create local variables for the mask and bits values passed in the data pointer to make this function a bit clearer. Return the state of the output bits (s->state) in data[1] since this is what comedilib is expecting. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed