rtc: ds1305: put ds1305_nvmem_cfg on the stack
This makes to code safer on system using two similar RTCs.
Signed-off-by:
Alexandre Belloni <alexandre.belloni@bootlin.com>
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This makes to code safer on system using two similar RTCs.
Signed-off-by:
Alexandre Belloni <alexandre.belloni@bootlin.com>