nvme: store a struct device pointer in struct nvme_dev
authorChristoph Hellwig <hch@lst.de>
Fri, 22 May 2015 09:12:39 +0000 (11:12 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 22 May 2015 14:36:33 +0000 (08:36 -0600)
commite75ec752d725b7b612c0b2db1bca50a9e53c0879
tree94c1a00fa02774dc49bbe3d5ecefe42689d545f5
parentf705f837c58ebe1ea69dfffff4dcc234e2fbc8dd
nvme: store a struct device pointer in struct nvme_dev

Most users want the generic device, so store that in struct nvme_dev
instead of the pci_dev.  This also happens to be a nice step towards
making some code reusable for non-PCI transports.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c
drivers/block/nvme-scsi.c
include/linux/nvme.h