nfp: devlink: register devlink port with ops
authorJiri Pirko <jiri@nvidia.com>
Fri, 26 May 2023 10:28:30 +0000 (12:28 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 May 2023 17:32:20 +0000 (10:32 -0700)
commitab8ccc6c134779a26af3e613578f5b2ac820a649
tree4cad24adf328de0dbff1ffd0e1f71b2e20f51ea2
parent865a1a1b97b6779f1e775b075dd534a43de64cfd
nfp: devlink: register devlink port with ops

Use newly introduce devlink port registration function variant and
register devlink port passing ops.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/netronome/nfp/nfp_devlink.c