Commit 0f63517
net: ethernet: renesas: ravb: use phydev from struct net_device
The private structure contain a pointer to phydev, but the structure
net_device already contain such pointer. So we can remove the pointer
phy_dev in the private structure, and update the driver to use the
one contained in struct net_device.
Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent f290040 commit 0f63517
2 files changed
+12
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1011 | 1011 | | |
1012 | 1012 | | |
1013 | 1013 | | |
1014 | | - | |
1015 | 1014 | | |
1016 | 1015 | | |
1017 | 1016 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
942 | 942 | | |
943 | 943 | | |
944 | 944 | | |
945 | | - | |
| 945 | + | |
946 | 946 | | |
947 | 947 | | |
948 | 948 | | |
| |||
1032 | 1032 | | |
1033 | 1033 | | |
1034 | 1034 | | |
1035 | | - | |
1036 | | - | |
1037 | 1035 | | |
1038 | 1036 | | |
1039 | 1037 | | |
1040 | 1038 | | |
1041 | 1039 | | |
1042 | 1040 | | |
1043 | | - | |
1044 | 1041 | | |
1045 | 1042 | | |
1046 | 1043 | | |
1047 | 1044 | | |
1048 | 1045 | | |
1049 | 1046 | | |
1050 | | - | |
| 1047 | + | |
1051 | 1048 | | |
1052 | 1049 | | |
1053 | 1050 | | |
| |||
1058 | 1055 | | |
1059 | 1056 | | |
1060 | 1057 | | |
1061 | | - | |
| 1058 | + | |
1062 | 1059 | | |
1063 | | - | |
| 1060 | + | |
1064 | 1061 | | |
1065 | 1062 | | |
1066 | 1063 | | |
| |||
1073 | 1070 | | |
1074 | 1071 | | |
1075 | 1072 | | |
1076 | | - | |
| 1073 | + | |
1077 | 1074 | | |
1078 | 1075 | | |
1079 | 1076 | | |
1080 | 1077 | | |
1081 | 1078 | | |
1082 | 1079 | | |
1083 | 1080 | | |
1084 | | - | |
| 1081 | + | |
1085 | 1082 | | |
1086 | 1083 | | |
1087 | 1084 | | |
| |||
1110 | 1107 | | |
1111 | 1108 | | |
1112 | 1109 | | |
1113 | | - | |
| 1110 | + | |
1114 | 1111 | | |
1115 | | - | |
| 1112 | + | |
1116 | 1113 | | |
1117 | 1114 | | |
1118 | 1115 | | |
| |||
1661 | 1658 | | |
1662 | 1659 | | |
1663 | 1660 | | |
1664 | | - | |
1665 | | - | |
1666 | | - | |
1667 | | - | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
1668 | 1664 | | |
1669 | 1665 | | |
1670 | 1666 | | |
| |||
1753 | 1749 | | |
1754 | 1750 | | |
1755 | 1751 | | |
1756 | | - | |
1757 | | - | |
| 1752 | + | |
1758 | 1753 | | |
1759 | 1754 | | |
1760 | 1755 | | |
| |||
0 commit comments