nvme: merge nvme_dev_start, nvme_dev_resume and nvme_async_probe
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Oct 2015 07:49:23 +0000 (09:49 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 9 Oct 2015 16:40:36 +0000 (10:40 -0600)
commit3cf519b5a8d4d067e3de19736283c9414402d3a2
treed4f3b2784f94befaa19552413e44cbb61b319535
parent90667892c5a78b47080359883a569a260e9e87ed
nvme: merge nvme_dev_start, nvme_dev_resume and nvme_async_probe

And give the resulting function a sensible name.  This keeps all the
error handling in a single place and will allow for further improvements
to it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c