summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/meson/pinctrl-meson.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-19 17:42:18 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-09-21 15:09:49 +0300
commitb582658ae00ded3058618252d40ed480870ee18b (patch)
tree02c914b3f97380705a4cb641396e010c6a97233b /drivers/pinctrl/meson/pinctrl-meson.c
parent2d71dfa2d9f119bcf41ae2cb130b98f91321890e (diff)
downloadlinux-b582658ae00ded3058618252d40ed480870ee18b.tar.xz
pinctrl: single: make two arrays static const, reduces object code size
Don't populate the read-only arrays prop2 and prop4 on the stack, instead make them static const. Makes the object code smaller by over 230 bytes: Before: text data bss dec hex filename 28235 5820 192 34247 85c7 drivers/pinctrl/pinctrl-single.o After: text data bss dec hex filename 27839 5980 192 34011 84db drivers/pinctrl/pinctrl-single.o Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/meson/pinctrl-meson.c')
0 files changed, 0 insertions, 0 deletions