Commit e6403ae
rtc: max77686: use dev_err_probe() where appropriate
dev_err_probe() exists to simplify code and harmonise error messages,
there's no reason not to use it here.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250304-rtc-cleanups-v2-15-d4689a71668c@linaro.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>1 parent 6158c6b commit e6403ae
1 file changed
Lines changed: 12 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
711 | 710 | | |
712 | 711 | | |
713 | 712 | | |
| |||
716 | 715 | | |
717 | 716 | | |
718 | 717 | | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
723 | 721 | | |
724 | 722 | | |
725 | 723 | | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
731 | 727 | | |
732 | 728 | | |
733 | 729 | | |
734 | 730 | | |
735 | 731 | | |
736 | 732 | | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
741 | 736 | | |
742 | 737 | | |
743 | 738 | | |
| |||
0 commit comments