summaryrefslogtreecommitdiff
path: root/drivers/pnp/pnpacpi
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-09-16 14:59:15 (GMT)
committerRichard Weinberger <richard@nod.at>2016-10-02 20:48:14 (GMT)
commitf9efe8d8a5d54e426da9029f5db78e90ac7a141a (patch)
treef19c00a332254c7d63cad5294b0581fe0b881e89 /drivers/pnp/pnpacpi
parentde4c455b3e9f6306ce7f4245d1ae09d4f1209bb4 (diff)
downloadlinux-f9efe8d8a5d54e426da9029f5db78e90ac7a141a.tar.xz
UBI: factorize destroy_av() and ubi_remove_av() code
Those functions are pretty much doing the same thing, except ubi_remove_av() is putting the aeb elements attached to the volume into the ai->erase list and the destroy_av() is freeing them. Rework destroy_av() to handle both cases. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/pnp/pnpacpi')
0 files changed, 0 insertions, 0 deletions