Commit a063158
iommu/msm: Simplify with dev_err_probe()
Use the dev_err_probe() helper to simplify error handling during probe.
This also handle scenario, when EDEFER is returned and useless error is
printed.
Fixes warnings as:
msm_iommu 7500000.iommu: could not get smmu_pclk
Signed-off-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20220206202945.465195-1-david@ixit.cz
Signed-off-by: Joerg Roedel <jroedel@suse.de>1 parent 6b813e0 commit a063158
1 file changed
Lines changed: 10 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
717 | 716 | | |
718 | 717 | | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
723 | 721 | | |
724 | 722 | | |
725 | 723 | | |
726 | | - | |
727 | 724 | | |
728 | | - | |
| 725 | + | |
| 726 | + | |
729 | 727 | | |
730 | 728 | | |
731 | 729 | | |
732 | 730 | | |
733 | | - | |
734 | 731 | | |
735 | | - | |
| 732 | + | |
736 | 733 | | |
737 | 734 | | |
738 | 735 | | |
739 | 736 | | |
740 | 737 | | |
741 | | - | |
742 | | - | |
| 738 | + | |
743 | 739 | | |
744 | 740 | | |
745 | 741 | | |
| |||
0 commit comments