OSDN Git Service

rtc: rv8803: put struct nvmem_config on the stack
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:32 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:22 +0000 (10:49 +0100)
commitc07fd9dea2fab9f4b1f246b766e124606cef187f
tree40cc2aac9276793b6cebf751956b7a296b8f2799
parent88d3aadea0c72bc9bfaec2504b331134056e9bce
rtc: rv8803: 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-rv8803.c