ahci: Move interrupt enablement code to a separate function
authorRobert Richter <rrichter@cavium.com>
Sun, 31 May 2015 11:55:17 +0000 (13:55 +0200)
committerTejun Heo <tj@kernel.org>
Wed, 3 Jun 2015 05:37:49 +0000 (01:37 -0400)
This patch refactors ahci_init_interrupts() and moves msi code to a
separate function. Need the split since we add msix initialization in
a later patch. The initialization for msix will be done after msi but
before intx.

Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci.c

Simple merge