commit | 410f4574f43c8bd61cd413a15e26e8f03c608085 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Mon Nov 30 15:35:25 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Dec 10 17:13:17 2015 +0100 |
tree | 2bb226407b7949edfe118d69e135283ba953f018 | |
parent | 384ca3c6a28d27030ec971f20b775c596ff87ae5 [diff] |
gpio: 74x164: Allocate buffer with gen_74x164_chip By moving the internal buffer to the end of struct gen_74x164_chip and converting it from a pointer to a zero-sized array, it can be allocated together with gen_74x164_chip, reducing the number of managed allocations. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>