From: H Hartley Sweeten Date: Mon, 5 Nov 2012 21:40:34 +0000 (-0700) Subject: staging: comedi: addi_apci_1032: cleanup v_ADDI_Interrupt() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~584 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12d606f75422f4989a853c7c52b06a3b15ef59a2;p=pandora-kernel.git staging: comedi: addi_apci_1032: cleanup v_ADDI_Interrupt() There is no need for this function to call v_APCI1032_Interrupt() in hwdrv_apci1032.c to reset the board. Just move the code from v_APCI1032_Interrupt() directly into this function. Rename the CamelCase function to apci1032_interrupt(). Rename the CamelCase local variable used to read/write the control register. Change the return from IRQ_RETVAL(1) to IRQ_HANDLED. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed