]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: use internal pblk methods
authorMatias Bjørling <m@bjorling.me>
Fri, 5 Jan 2018 13:15:59 +0000 (14:15 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jan 2018 15:50:12 +0000 (08:50 -0700)
commit2b2b6fa69ab8cbc39e2cc7999cc26a0c4bfa9d06
tree73ffacd9cbc25874b4b77c1a7ef7041247ece495
parenta2d3877ff871189c030767bd140b7d6d564171bc
lightnvm: use internal pblk methods

Now that rrpc has been removed, the only users of the ppa helpers
is pblk. However, pblk already defines similar functions.

Switch pblk to use the internal ones, and remove the generic ppa
helpers.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-map.c
drivers/lightnvm/pblk-write.c
include/linux/lightnvm.h