]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf85363: put struct nvmem_config on the stack
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:30 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:21 +0000 (10:49 +0100)
commit1b81fee724039a0cf03a83e7e0277d34902367f9
treeb6d472c40315fe1074182403b38af5434dbde7af
parenta729ed7d4e955511a01bfd28c94f7f9e218319fe
rtc: pcf85363: put struct nvmem_config on the stack

Avoid allocating memory for struct nvmem_config.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pcf85363.c