diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-02-12 23:47:23 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-03-01 10:49:17 +0100 |
commit | 409baf1785db703583a5f0b51c0d0b114e14f4fb (patch) | |
tree | 34933cd5242aff1b1c7f348afb6be2384d57fb0d /drivers/rtc/rtc-dm355evm.c | |
parent | e9fb7682fa22b16175b6cabcc481ec53ba696c43 (diff) | |
download | linux-409baf1785db703583a5f0b51c0d0b114e14f4fb.tar.gz linux-409baf1785db703583a5f0b51c0d0b114e14f4fb.tar.xz |
rtc: ds1307: put struct nvmem_config on the stack
Avoid allocating memory for struct nvmem_config as it is only necessary at
the nvmem registration.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-dm355evm.c')
0 files changed, 0 insertions, 0 deletions