File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -555,7 +555,6 @@ static int twl_rtc_probe(struct platform_device *pdev)
555
555
REG_INT_MSK_STS_A );
556
556
}
557
557
558
- dev_info (& pdev -> dev , "Enabling TWL-RTC\n" );
559
558
ret = twl_rtc_write_u8 (twl_rtc , BIT_RTC_CTRL_REG_STOP_RTC_M ,
560
559
REG_RTC_CTRL_REG );
561
560
if (ret < 0 )
@@ -577,11 +576,8 @@ static int twl_rtc_probe(struct platform_device *pdev)
577
576
578
577
twl_rtc -> rtc = devm_rtc_device_register (& pdev -> dev , pdev -> name ,
579
578
& twl_rtc_ops , THIS_MODULE );
580
- if (IS_ERR (twl_rtc -> rtc )) {
581
- dev_err (& pdev -> dev , "can't register RTC device, err %ld\n" ,
582
- PTR_ERR (twl_rtc -> rtc ));
579
+ if (IS_ERR (twl_rtc -> rtc ))
583
580
return PTR_ERR (twl_rtc -> rtc );
584
- }
585
581
586
582
ret = devm_request_threaded_irq (& pdev -> dev , irq , NULL ,
587
583
twl_rtc_interrupt ,
You can’t perform that action at this time.
0 commit comments