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)
commit0e7a412fa24c021cba7feebbc82878a44f58b33a
treeb6d472c40315fe1074182403b38af5434dbde7af
parent24849d177c63e3f9b2bd92eb5c17c7ee0da4d798
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