nvme: Use blk_create_devicef() API
authorBin Meng <bmeng.cn@gmail.com>
Tue, 22 Aug 2017 15:15:15 +0000 (08:15 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 28 Aug 2017 11:17:14 +0000 (07:17 -0400)
commitd5b7ee9c6e19993b10b549ac763aa7db8dbacee0
tree94e7f8eccb9f67285afb7ebb4f3b084ee5b3a02d
parent704e040a51d2456a6c56e79363279b230d37cef7
nvme: Use blk_create_devicef() API

The codes in nvme_uclass_post_probe() can be replaced to call the
blk_create_devicef() API directly.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/nvme/nvme-uclass.c