]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
rtc: nvmem: return error values
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:17 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 14 Feb 2018 19:58:13 +0000 (20:58 +0100)
commit2cc8212198820487ec3fdcc7b98133701fc9dfc3
treee4e81b3f8b537aa7f6aa4960dae86bbe04f7dc06
parent4cce9d3988ae33eb53742d9648ecc59046196e6f
rtc: nvmem: return error values

In case of error, make rtc_nvmem_register() able to return an error value
to its caller.

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