net/mlx5: Move fw reset devlink param to fw reset code
authorJiri Pirko <jiri@nvidia.com>
Thu, 26 Jan 2023 07:58:36 +0000 (08:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jan 2023 12:32:02 +0000 (12:32 +0000)
commitc2077fbc42aeec2f2dea1ea5ed6c86bd9b8b5e9d
tree6956692e024cea225143a6ca8bf0b6f76f2cccd6
parent075935f0ae0fbbe469a911d685f6cc59de892700
net/mlx5: Move fw reset devlink param to fw reset code

Move the param registration and handling code into the fw reset code
as they are related to each other. No point in having the devlink param
registration done in separate file.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/devlink.c
drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c
drivers/net/ethernet/mellanox/mlx5/core/fw_reset.h