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)
commit26f76dce60d28028e5c1fbbc39e771366a27671f
tree73ffacd9cbc25874b4b77c1a7ef7041247ece495
parentaba203d155c1d58c871c7ad4bea320fb6ff5e68f
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