From: Sergei Shtylyov Date: Mon, 15 Jun 2009 16:52:57 +0000 (+0200) Subject: ide: move IRQ clearing from ack_intr() method to clear_irq() method (take 2) X-Git-Tag: v2.6.31-rc1~103^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eba8999cefb6b61704d8fa825b7694825a087765;p=pandora-kernel.git ide: move IRQ clearing from ack_intr() method to clear_irq() method (take 2) There are now two methods that clear the port interrupt: ack_intr() method, implemented only on M680x0 machines, that is called at the start of ide_intr(), and clear_irq() method, that is called somewhat later in this function. In order to stop this duplication, delegate the task of clearing the interrupt to clear_irq() method, only leaving to ack_intr() the task of testing for the port interrupt. Signed-off-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed