diff options
author | Colin Ian King <[email protected]> | 2021-07-15 15:15:31 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-07-15 17:24:49 +0100 |
commit | 508f8ccd993d1ff5c9a3092f179f33bd7a825bac (patch) | |
tree | 0f21d5baced8a71ee2091b437d218f5c60aa9233 /scripts/gdb/linux/utils.py | |
parent | 442a9d105e61591b36b653ba1ee0c02b0482b639 (diff) |
regulator: rt6245: make a const array func_base static, makes object smaller
Don't populate the const array func_base on the stack but instead it
static. Makes the object code smaller by 55 bytes:
Before:
text data bss dec hex filename
6422 3216 64 9702 25e6 drivers/regulator/rt6245-regulator.o
After:
text data bss dec hex filename
6303 3280 64 9647 25af drivers/regulator/rt6245-regulator.o
Reduction of 55 bytes
(gcc version 10.3.0)
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions