Commit e6625db
phy: core: Simplify API of_phy_simple_xlate() implementation
Simplify of_phy_simple_xlate() implementation by API
class_find_device_by_of_node().
Also correct comments to mark its parameter @dev as unused instead of
@Args in passing.
Signed-off-by: Zijun Hu <[email protected]>
Cc: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>1 parent b609675 commit e6625db
1 file changed
+8
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
747 | | - | |
748 | | - | |
| 747 | + | |
| 748 | + | |
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
| |||
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
| 758 | + | |
766 | 759 | | |
767 | | - | |
768 | | - | |
769 | | - | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
770 | 763 | | |
771 | | - | |
772 | | - | |
| 764 | + | |
| 765 | + | |
773 | 766 | | |
774 | 767 | | |
775 | 768 | | |
| |||
0 commit comments