]> 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)
commit00f9d3ec0ce24a31460a02d022c96a6f1f15f7cf
treeb6d472c40315fe1074182403b38af5434dbde7af
parenta14689f667db7e633e674491e127c5b3c94e2be8
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