rtc: rv3032: fix nvram nvmem priv pointer
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 8 Nov 2020 22:37:10 +0000 (23:37 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 14 Nov 2020 23:51:34 +0000 (00:51 +0100)
commit767fbb7102c69bedb8dca5a877c4eae4bbf8cf9b
tree7dc36ff1cfb75ca483aa9fa79d303aed2684828c
parent9844484eac2bff09ba3fcdebcf5a41d94df6b6c1
rtc: rv3032: fix nvram nvmem priv pointer

The nvmem priv pointer is set to rv3032 but the rv3032_nvram_write and
rv3032_nvram_read expect the regmap pointer.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201108223710.1574331-1-alexandre.belloni@bootlin.com
drivers/rtc/rtc-rv3032.c