]> git.karo-electronics.de Git - linux-beck.git/commit
lightnvm: rename nvm_targets to nvm_tgt_type
authorSimon A. F. Lund <slund@cnexlabs.com>
Fri, 6 May 2016 18:03:02 +0000 (20:03 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 6 May 2016 18:51:10 +0000 (12:51 -0600)
commit6063fe399d0913e7bd4462650cd4f31b479a83c9
treea03964afaef6422de511c1377d518f887efa00fd
parent909049a7199947abbc6a923e4cf5cff1857d4205
lightnvm: rename nvm_targets to nvm_tgt_type

The functions nvm_register_target(), nvm_unregister_target() and
associated list refers to a target type that is being registered by a
target type module. Rename nvm_*_targets() to nvm_*_tgt_type(), so that
the intension is clear.

This enables target instances to use the _nvm_*_targets() naming.

Signed-off-by: Simon A. F. Lund <slund@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c
drivers/lightnvm/rrpc.c
include/linux/lightnvm.h