Skip to content
Commit 9800f24f authored by Yushan Zhou's avatar Yushan Zhou Committed by Alexandre Belloni
Browse files

rtc: rzn1: Check return value in rzn1_rtc_probe



The rzn1_rtc_probe() function utilizes devm_pm_runtime_enable()
but wasn't checking the return value. Fix it by adding missing
check.

Fixes: deeb4b53 ("rtc: rzn1: Add new RTC driver")

Signed-off-by: default avatarYushan Zhou <katrinzhou@tencent.com>
Reviewed-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20221107092544.3721053-1-zys.zljxml@gmail.com


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