]> git.itanic.dy.fi Git - linux-stable/commit
net: sunhme: Consolidate common probe tasks
authorSean Anderson <seanga2@gmail.com>
Fri, 24 Mar 2023 17:51:36 +0000 (13:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Mar 2023 07:41:56 +0000 (08:41 +0100)
commitecdcd0428c594f6a6ee157fafb4c6265785be054
tree7afa6626d60e0157001b5447693632994821d221
parent902fe6e903686ed36d030ae402aa86ada9f2710b
net: sunhme: Consolidate common probe tasks

Most of the second half of the PCI/SBUS probe functions are the same.
Consolidate them into a common function.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunhme.c