diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-01-26 10:58:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-27 15:32:02 +0300 |
commit | a756185ac3b9a846b7710a49422f7f57da638f30 (patch) | |
tree | db9d1c6242d726f1b5b5e4f872d7ee4c81760a8f /net/devlink | |
parent | c8aebff4599f4a701c271657a9ddc5e64ab98d55 (diff) | |
download | linux-a756185ac3b9a846b7710a49422f7f57da638f30.tar.xz |
net/mlx5: Covert devlink params registration to use devlink_params_register/unregister()
Since mlx5 is the only user of devlink API to register/unregister a
single param, convert it to use array registration function allowing to
simplify the devlink API by removing the single param registration
functions.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/devlink')
0 files changed, 0 insertions, 0 deletions