OSDN Git Service

nvme: use ida_simple_{get,remove} for the controller instance
authorChristoph Hellwig <hch@lst.de>
Wed, 18 Oct 2017 11:10:01 +0000 (13:10 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 20 Oct 2017 10:16:57 +0000 (12:16 +0200)
commit9843f685ae365d0c628e6a0d929772bca7274311
tree9cbe40af6d97d0280d2483bdacae55f46832fedc
parentba2dec35e431e62e11116b8036dc372493169b39
nvme: use ida_simple_{get,remove} for the controller instance

Switch to the ida_simple_* helpers instead of opencoding them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
drivers/nvme/host/core.c