Skip to content
Commit 409baf17 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

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: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent e9fb7682
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment