diff options
author | Yushan Zhou <[email protected]> | 2022-11-07 17:25:44 +0800 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2022-11-15 21:01:51 +0100 |
commit | 9800f24f7bd5b99fb4fc4ce981427102e2e15a1c (patch) | |
tree | c0cda15805578288aeaac6f14b677000c0fbd64f /lib/mpi/mpi-sub-ui.c | |
parent | 8ffb7733e162d26393523bd95c5bfffa6e09baf4 (diff) |
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: deeb4b5393e1 ("rtc: rzn1: Add new RTC driver")
Signed-off-by: Yushan Zhou <[email protected]>
Reviewed-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions