rtc: ds1305: put ds1305_nvmem_cfg on the stack
This makes to code safer on system using two similar RTCs.
Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
Showing
想要评论请 注册 或 登录
This makes to code safer on system using two similar RTCs.
Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>