commit | 91f4285fe389a2729efcd5db642d7652d8f27a40 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Fri Sep 16 16:59:18 2016 +0200 |
committer | Richard Weinberger <richard@nod.at> | Sun Oct 02 22:48:14 2016 +0200 |
tree | b2c5374b3457c9a8b955b3a63d3651e2cfb1736b | |
parent | fcbb6af17bda4b3856a1f4c302da5d0d7bf9a0f9 [diff] |
UBI: provide helpers to allocate and free aeb elements This not only hides the aeb allocation internals (which is always good in case we ever want to change the allocation system), but also helps us factorize the initialization of some common fields (ec and pnum). Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Richard Weinberger <richard@nod.at>