[PATCH net-next] net: ethernet: Use device_get_match_data()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Fri Oct 13 20:10:30 AEDT 2023


Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem at davemloft.net>:

On Mon,  9 Oct 2023 12:28:58 -0500 you wrote:
> Use preferred device_get_match_data() instead of of_match_device() to
> get the driver match data. With this, adjust the includes to explicitly
> include the correct headers.
> 
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
>  drivers/net/ethernet/altera/altera_tse.h      |  2 +-
>  drivers/net/ethernet/altera/altera_tse_main.c | 13 ++----
>  drivers/net/ethernet/amd/xgbe/xgbe-platform.c | 42 +------------------
>  .../net/ethernet/apm/xgene/xgene_enet_main.c  | 15 +------
>  .../net/ethernet/apm/xgene/xgene_enet_main.h  |  3 +-
>  drivers/net/ethernet/freescale/fec_main.c     | 12 +++---
>  .../ethernet/freescale/fs_enet/fs_enet-main.c | 18 ++++----
>  .../net/ethernet/freescale/fs_enet/mii-fec.c  | 10 ++---
>  drivers/net/ethernet/freescale/fsl_pq_mdio.c  | 12 ++----
>  drivers/net/ethernet/hisilicon/hix5hd2_gmac.c | 11 ++---
>  .../stmicro/stmmac/dwmac-intel-plat.c         |  9 ++--
>  drivers/net/ethernet/ti/davinci_emac.c        | 12 ++----
>  drivers/net/ethernet/ti/icssg/icssg_prueth.c  | 13 ++----
>  13 files changed, 40 insertions(+), 132 deletions(-)

Here is the summary with links:
  - [net-next] net: ethernet: Use device_get_match_data()
    https://git.kernel.org/netdev/net-next/c/b0377116decd

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html




More information about the Linuxppc-dev mailing list