From: H Hartley Sweeten Date: Thu, 24 Jul 2014 17:14:51 +0000 (-0700) Subject: staging: comedi: ni_tio: tidy up ni_gpct_device_{construct,destroy)() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~244 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8477c5d4ba0d7ff04d346c5cb104d06a62adddae;p=pandora-kernel.git staging: comedi: ni_tio: tidy up ni_gpct_device_{construct,destroy)() For aesthetics, move these exported functions to the end of the file. Tidy up the functions a bit and remove the BUG_ON when (num_counters == 0). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed