diff options
| author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-02-12 23:47:25 +0100 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-03-01 10:49:18 +0100 |
| commit | 71e19c5e25792db5f46d525eb5743186b148326d (patch) | |
| tree | af6d4d76fd5135d0d828e8ded6f504e125abbf63 /include/linux/debugobjects.h | |
| parent | 16fef391428e95b08e2c6ef9770f0d1185de770e (diff) | |
| download | cachepc-linux-71e19c5e25792db5f46d525eb5743186b148326d.tar.gz cachepc-linux-71e19c5e25792db5f46d525eb5743186b148326d.zip | |
rtc: ds1511: put ds1511_nvmem_cfg on the stack
Move ds1511_nvmem_cfg to the stack of ds1511_rtc_probe. This results in a
very small code size reduction and make it safer on systems with two
similar RTCs:
text data bss dec hex filename
2128 164 4 2296 8f8 drivers/rtc/rtc-ds1511.o.before
2175 100 4 2279 8e7 drivers/rtc/rtc-ds1511.o.after
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
