lightnvm: collapse nvm_erase_ppa and nvm_erase_blk
authorMatias Bjørling <matias@cnexlabs.com>
Tue, 31 Jan 2017 12:17:10 +0000 (13:17 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 31 Jan 2017 15:32:13 +0000 (08:32 -0700)
commit10995c3dc9d7f47b92ff3e74b4bd191ddb7991ff
tree8e2f54e1d53cafa64e6c52ce283ddc402a90b6d1
parentade69e2432b795c76653e1dfa09c684549826a50
lightnvm: collapse nvm_erase_ppa and nvm_erase_blk

After gennvm and core have been merged, there are no more callers to
nvm_erase_ppa. Therefore collapse the device specific and target
specific erase functions.

Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c
include/linux/lightnvm.h