]> git.baikalelectronics.ru Git - kernel.git/commit
bcm63xx_enet: use platform device id directly for miibus name
authorJonas Gorski <jonas.gorski@gmail.com>
Sun, 17 Dec 2017 16:02:55 +0000 (17:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Dec 2017 16:07:16 +0000 (11:07 -0500)
commit642f82c6a780a40e63f16d297c136409e834c6a2
treec6829fbcdb7cbd6d2fc343110d70aa0372e30eba
parent491e88c637d162de48337f8f9ae023e5412abca6
bcm63xx_enet: use platform device id directly for miibus name

Directly use the platform device for generating the miibus name. This
removes the last user of bcm_enet_priv::mac_id and we can remove the
field.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm63xx_enet.c
drivers/net/ethernet/broadcom/bcm63xx_enet.h