]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
rtc: nvmem: don't return an error when not enabled
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 16 May 2018 19:08:42 +0000 (21:08 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 16 May 2018 19:08:42 +0000 (21:08 +0200)
commitc59b3715ac16544f8f68ab7af03f108e339b36aa
tree3bb1b8aced09a60a7d9eb025900132955cbcb1ff
parent5aa6a62d115b7ffe269b2a00144aa325d90a2169
rtc: nvmem: don't return an error when not enabled

Avoid reporting an error when RTC_NVMEM is not selected.

Reported-by: kernel test robot <xiaolong.ye@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
include/linux/rtc.h