diff options
| author | Bartosz Golaszewski <[email protected]> | 2021-01-14 10:22:19 +0000 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2021-01-16 22:19:12 +0000 |
| commit | 3be95d277484117f248b2f7e8cb8d14cb38dbb04 (patch) | |
| tree | e7eddaf9f42fbaddbb52289476b2518e83bddad8 /drivers/rtc/interface.c | |
| parent | rtc: s5m: use devm_i2c_new_dummy_device() (diff) | |
| download | kernel-3be95d277484117f248b2f7e8cb8d14cb38dbb04.tar.gz kernel-3be95d277484117f248b2f7e8cb8d14cb38dbb04.zip | |
rtc: s5m: check the return value of s5m8767_rtc_init_reg()
This function can fail if regmap operations fail so check its return
value in probe().
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions
