Commit 5e799a7
iommu/exynos: Use the devm_clk_get_optional() helper
Use devm_clk_get_optional() instead of hand writing it.
This saves some loC and improves the semantic.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/99c0d5ce643737ee0952df41fd60433a0bbeb447.1679834256.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Joerg Roedel <jroedel@suse.de>1 parent e8d018d commit 5e799a7
1 file changed
Lines changed: 8 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
| 750 | + | |
| 751 | + | |
754 | 752 | | |
755 | 753 | | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
| 754 | + | |
| 755 | + | |
760 | 756 | | |
761 | 757 | | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
| 758 | + | |
| 759 | + | |
766 | 760 | | |
767 | 761 | | |
768 | 762 | | |
769 | 763 | | |
770 | 764 | | |
771 | 765 | | |
772 | 766 | | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
| 767 | + | |
| 768 | + | |
777 | 769 | | |
778 | 770 | | |
779 | 771 | | |
| |||
0 commit comments