commit | 409baf1785db703583a5f0b51c0d0b114e14f4fb | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | Mon Feb 12 23:47:23 2018 +0100 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu Mar 01 10:49:17 2018 +0100 |
tree | 34933cd5242aff1b1c7f348afb6be2384d57fb0d | |
parent | e9fb7682fa22b16175b6cabcc481ec53ba696c43 [diff] |
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>