From: H Hartley Sweeten Date: Tue, 4 Nov 2014 17:54:01 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: tidy up apci3120_exttrig_{enable,disable}() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~338 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6a1cfed89b5aca6e5ba179b3788d639ebe0c624;p=pandora-kernel.git staging: comedi: addi_apci_3120: tidy up apci3120_exttrig_{enable,disable}() Merge these two functions and use an 'enable' parameter to determine if the external trigger needs to be enabled or disabled. This function always succeeds and the callers don't check the return. Change the return type to void. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed