From: H Hartley Sweeten Date: Tue, 11 Sep 2012 01:52:58 +0000 (-0700) Subject: staging: comedi: adl_pci9111: cleanup pci9111_do_insn_bits() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~397 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83dcfee0f2b29e689f79f259bde1c1dc34772b13;p=pandora-kernel.git staging: comedi: adl_pci9111: cleanup pci9111_do_insn_bits() Remove the unnecessary comments. Cleanup the function to follow the comedi standard for digital outputs. The 'mask' does not need to be checked, the comedi core will make sure that it is valid based on the subdevice data. The outputs only need to be updated if the 'mask' indicates something is changing, otherwise we just need to return the current "state" of the outputs. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed