NVMe: Create nvme_identify and nvme_get_features functions
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Mon, 19 Sep 2011 21:08:14 +0000 (17:08 -0400)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:53:04 +0000 (15:53 -0400)
commitbc5fc7e4b22ca855902aba02b28c96f09b446407
treee4be2d6c81ebfb84fd0920dd5eaa844e574b8f3b
parent684f5c2025b067a23722e620d0b3b858d8dc5d01
NVMe: Create nvme_identify and nvme_get_features functions

Instead of open-coding calls to nvme_submit_admin_cmd, these
small wrappers are simpler to use (the patch removes 14 lines from
nvme_dev_add() for example).

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