summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2021-01-14 11:22:19 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-01-16 23:19:12 +0100
commit3be95d277484117f248b2f7e8cb8d14cb38dbb04 (patch)
treee7eddaf9f42fbaddbb52289476b2518e83bddad8 /drivers/rtc/interface.c
parentrtc: s5m: use devm_i2c_new_dummy_device() (diff)
downloadlinux-3be95d277484117f248b2f7e8cb8d14cb38dbb04.tar.xz
linux-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 <bgolaszewski@baylibre.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20210114102219.23682-4-brgl@bgdev.pl
Diffstat (limited to 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions