From: Ian Abbott Date: Mon, 28 Jul 2014 12:09:32 +0000 (+0100) Subject: staging: comedi: amplc_pc236: combine interrupt enable/disable functions X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~162 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f526aad196da471040a30bec4c788518e450fa2;p=pandora-kernel.git staging: comedi: amplc_pc236: combine interrupt enable/disable functions `pc236_intr_enable()` and `pc236_intr_disable()` are very similar. Combine them into a single function `pc236_intr_update()` with a parameter to indicate whether interrupts are being enabled or disabled. Change type type of the `enable_irq` member of the private data to `bool` to match the parameter. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed