Skip to content
Commit ab3ea36e authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: nvmem: disallow registering nvmem more than once



Make rtc_nvmem_register return -EBUSY when an nvmem is already registered
for that RTC.

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 2cc82121
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment