[PATCH 09/45] rtc: ds1307: put struct nvmem_config on the stack

2018-02-12 Thread Alexandre Belloni
Avoid allocating memory for struct nvmem_config as it is only necessary at the nvmem registration. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1307.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git

[PATCH 09/45] rtc: ds1307: put struct nvmem_config on the stack

2018-02-12 Thread Alexandre Belloni
Avoid allocating memory for struct nvmem_config as it is only necessary at the nvmem registration. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1307.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/rtc/rtc-ds1307.c