From: Kenji Kaneshige Date: Thu, 26 Jun 2008 11:07:33 +0000 (+0900) Subject: pciehp: remove needless command completed interrupt setting X-Git-Tag: v2.6.27-rc1~1046^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aa50c44628629a6d58f93e0a1244e95a874884e;p=pandora-kernel.git pciehp: remove needless command completed interrupt setting Currently, pciehp driver enables command completed interrupt as follows. (1) Don't enable at initialization. (2) Enable command completed interrupt whenever pciehp issues a command, if the command doesn't attempt to disable the interrupt. (3) Disable command completed interrupt at driver unloading. Once we enable command completed interrupt, we don't need to re-enable it for every command. So we can simplify above steps as follows: (1) Enable command completed interrupt at initialization. (2) No special sequence for command completed interrupt. (3) Disable command completed interrupt at driver unloading. Signed-off-by: Kenji Kaneshige Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed