diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 17:29:44 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 17:29:44 -0700 |
commit | e6c0b69a43150c1a37cf342ce5faedf12583bf79 (patch) | |
tree | 955456982fea62d6557ad5992f19ee3e73e64bc2 /drivers/scsi/NCR_Q720.c | |
parent | 1f27adc2f050836c12deb4d99afe507636537a0b (diff) | |
download | linux-e6c0b69a43150c1a37cf342ce5faedf12583bf79.tar.gz linux-e6c0b69a43150c1a37cf342ce5faedf12583bf79.tar.bz2 linux-e6c0b69a43150c1a37cf342ce5faedf12583bf79.zip |
ioat: convert ioat_probe to pcim/devm
The driver currently duplicates much of what these routines offer, so
just use the common code. For example ->irq_mode tracks what interrupt
mode was initialized, which duplicates the ->msix_enabled and
->msi_enabled handling in pcim_release.
This also adds a check to the return value of dma_async_device_register,
which can fail.
Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/NCR_Q720.c')
0 files changed, 0 insertions, 0 deletions