diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-05-02 16:30:30 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-05-06 21:48:46 +0200 |
commit | 20700171929316ed88fdd11b3099518a0bd2f36e (patch) | |
tree | 9fa87aa15c7afc017a9e3142fdc164a24eab8699 /drivers/mtd/parsers/sharpslpart.c | |
parent | mtd: afs: simplify partition parsing (diff) | |
download | linux-20700171929316ed88fdd11b3099518a0bd2f36e.tar.xz linux-20700171929316ed88fdd11b3099518a0bd2f36e.zip |
mtd: afs: simplify partition detection
Instead of reading out the AFS footers twice, create a separate
function to just check if there is a footer or not. Rids a few
local variables and prepare us to join the actual parser into
one function.
Cc: Ryan Harkin <ryan.harkin@linaro.org>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd/parsers/sharpslpart.c')
0 files changed, 0 insertions, 0 deletions