]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabce44398a2324e420a953c27e6cbf2ae2121a65
tree9cbe40af6d97d0280d2483bdacae55f46832fedc
parente103d7b01529a3675265b42ffef03be7de67e079
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