NVMe: Pass the nvme_dev to nvme_free_prps and nvme_setup_prps
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Thu, 10 Feb 2011 15:47:55 +0000 (10:47 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:57 +0000 (15:52 -0400)
commitd567760c409f981d35fc755b51d5bf56a99a467b
tree12db12b955792272e27640afb20e30f456b200af
parent99802a7aee2b3dd720e382c52b892cc6a8122b11
NVMe: Pass the nvme_dev to nvme_free_prps and nvme_setup_prps

We were passing the nvme_queue to access the q_dmadev for the
dma_alloc_coherent calls, but since we moved to the dma pool API,
we really only need the nvme_dev.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c