]> git.baikalelectronics.ru Git - kernel.git/commit
net: fman: Remove internal_phy_node from params
authorSean Anderson <sean.anderson@seco.com>
Fri, 2 Sep 2022 21:57:26 +0000 (17:57 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Sep 2022 13:27:39 +0000 (14:27 +0100)
commit7e369a0bf3ee1e7461c089cd6550444db2986b2f
tree8005bd8b1d7022052016fdda09b5907115699507
parent2ebf25c266329950235cefa8134f5e37b1e85cb6
net: fman: Remove internal_phy_node from params

This member was used to pass the phy node between mac_probe and the
mac-specific initialization function. But now that the phy node is
gotten in the initialization function, this parameter does not serve a
purpose. Remove it, and do the grabbing of the node/grabbing of the phy
in the same place.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Acked-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fman/fman_dtsec.c
drivers/net/ethernet/freescale/fman/fman_mac.h
drivers/net/ethernet/freescale/fman/fman_memac.c