ionic: extract common bits from ionic_probe
authorShannon Nelson <shannon.nelson@amd.com>
Thu, 20 Jul 2023 19:08:14 +0000 (12:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2023 09:42:34 +0000 (10:42 +0100)
commit0de38d9f1dba2336f84799824af08263fc407dd1
treeca6b52d035f25e3dc8c9e0e6b2892091db578693
parent87d7a9f3734fb314a15b579137cd9d69892b36aa
ionic: extract common bits from ionic_probe

Pull out some chunks of code from ionic_probe() that will
be common in rebuild paths.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c