aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-max77686.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-max77686.c')
-rw-r--r--drivers/rtc/rtc-max77686.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c
index fb08b89c41e7..771812d62e6b 100644
--- a/drivers/rtc/rtc-max77686.c
+++ b/drivers/rtc/rtc-max77686.c
@@ -514,7 +514,7 @@ static int max77686_rtc_probe(struct platform_device *pdev)
514 info->dev = &pdev->dev; 514 info->dev = &pdev->dev;
515 info->max77686 = max77686; 515 info->max77686 = max77686;
516 info->rtc = max77686->rtc; 516 info->rtc = max77686->rtc;
517 info->max77686->rtc_regmap = regmap_init_i2c(info->max77686->rtc, 517 info->max77686->rtc_regmap = devm_regmap_init_i2c(info->max77686->rtc,
518 &max77686_rtc_regmap_config); 518 &max77686_rtc_regmap_config);
519 if (IS_ERR(info->max77686->rtc_regmap)) { 519 if (IS_ERR(info->max77686->rtc_regmap)) {
520 ret = PTR_ERR(info->max77686->rtc_regmap); 520 ret = PTR_ERR(info->max77686->rtc_regmap);