diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-10-28 17:51:17 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-11-05 16:56:50 +0300 |
commit | a4da45dda6475816f4c8b9e0d512261991ba31e5 (patch) | |
tree | 9261f8651e10998d3e822212961568e5cf7f24d4 /drivers/pinctrl/qcom | |
parent | b507cb92477ad85902783a183c5ce01d16296687 (diff) | |
download | linux-a4da45dda6475816f4c8b9e0d512261991ba31e5.tar.xz |
pinctrl: Remove hole in pinctrl_gpio_range
On 64-bit platforms, pointer size and alignment are 64-bit, hence two
4-byte holes are present before the pins and gc members of the
pinctrl_gpio_range structure. Get rid of these holes by moving the
pins pointer.
This reduces kernel size of an arm64 Rockchip kernel by ca. 512 bytes.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20201028145117.1731876-1-geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/qcom')
0 files changed, 0 insertions, 0 deletions