]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ds1305: put ds1305_nvmem_cfg on the stack
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:21 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:16 +0000 (10:49 +0100)
commit18327b9194b2a54c1b3d5e41e65a4f09625251a5
treee3ca1735b929c1b373b5a9b4f8b7314e87691735
parent8ce8d838e23a654e9b8c763047ac243df4820bbe
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>
drivers/rtc/rtc-ds1305.c