NVMe: Change get_nvmeq to take a dev instead of a namespace
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 20 Dec 2011 16:04:12 +0000 (11:04 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 10 Jan 2012 19:49:18 +0000 (14:49 -0500)
commit040a93b52a9eee8177ebaf2ba0ee0f9f518d1bf8
treebe1f319048580f40c2634bca46e2840d721a32f4
parentc2f5b65020869215814df03c3941dac9436f99fb
NVMe: Change get_nvmeq to take a dev instead of a namespace

Upcoming patches require calling get_nvmeq when we don't have a namespace.
Some callers already have the device in a local variable anyway.

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