diff options
| author | Yang Yingliang <[email protected]> | 2022-01-06 15:57:11 +0800 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2022-01-16 23:50:34 +0100 |
| commit | 5ceee540fdc7f1d65ca6e2b1b193ce5aa95ab99c (patch) | |
| tree | 7c25b3d731341cbc0c00aebcb75710fc46349f55 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
| parent | ff164ae39b82ee483b24579c8e22a13a8ce5bd04 (diff) | |
rtc: sunplus: fix return value in sp_rtc_probe()
If devm_ioremap_resource() fails, it should return error
code from sp_rtc->reg_base in sp_rtc_probe().
Fixes: fad6cbe9b2b4 ("rtc: Add driver for RTC in Sunplus SP7021")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions