]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rv3028: Add missed check for devm_regmap_init_i2c()
authorChuhong Yuan <hslester96@gmail.com>
Thu, 28 May 2020 10:39:50 +0000 (18:39 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 30 May 2020 02:12:43 +0000 (04:12 +0200)
commit2e504d5e3bb3dd71c14a1d4393a5da5551715d0d
tree85fcbb3a08bc95708ba703ea1b6a59bc2489352f
parenteb5c2dd64956fdaeeea9973fd63b30b303ff5c05
rtc: rv3028: Add missed check for devm_regmap_init_i2c()

rv3028_probe() misses a check for devm_regmap_init_i2c().
Add the missed check to fix it.

Fixes: eb191012103d ("rtc: rv3028: add new driver")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200528103950.912353-1-hslester96@gmail.com
drivers/rtc/rtc-rv3028.c