From: H Hartley Sweeten Date: Thu, 24 Jul 2014 17:14:52 +0000 (-0700) Subject: staging: comedi: ni_tio: tidy up ni_tio_init_counter() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~243 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25e529b0f45ce88a6d8f82c6bf43503040617c57;p=pandora-kernel.git staging: comedi: ni_tio: tidy up ni_tio_init_counter() This function is called to initialize/reset a gpct counter during a comedi drivers (*attach). For aesthetics, move this exported function toward the end of the file. Tidy up the functions a bit by just open coding the '0x0' values used to initialize some of the registers. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed