From: H Hartley Sweeten Date: Mon, 28 Jul 2014 17:27:01 +0000 (-0700) Subject: staging: comedi: ni_tiocmd: tidy up ni_tio_configure_dma() X-Git-Tag: cleanup-for-v3.18~125^2~143 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65dbae525fc1e6b5c2cd09e1fc700a7d80b3577d;p=pandora-kernel.git staging: comedi: ni_tiocmd: tidy up ni_tio_configure_dma() The 'enable' and 'read_not_write' parameters are true/false flags. For aesthetics, change their types to bool. Rename the local variable 'input_select_bits' to simply 'bits' and reuse it when enabling the dma on the m series and 660x counter variants. Add a local variable for the 'mask' that is passed to ni_tio_set_bits() to help clarify the code. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed