nvme: Consolidate block read and write routines
authorBin Meng <bmeng.cn@gmail.com>
Tue, 22 Aug 2017 15:15:13 +0000 (08:15 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 28 Aug 2017 11:17:13 +0000 (07:17 -0400)
commit625a483cea6442da5d435830357c10ecc459f9c6
tree71a872387469e2dd3142fb28ac1e2aea9af72994
parent722e668db2b4dca735aafcd9ed325145d8a9208c
nvme: Consolidate block read and write routines

The NVMe block read and write routines are almost the same except
the command opcode. Let's consolidate them to avoid duplication.

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