OSDN Git Service

mlxsw: core: use PSID string define in devlink info
authorJiri Pirko <jiri@nvidia.com>
Wed, 26 May 2021 10:45:09 +0000 (12:45 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 May 2021 21:51:18 +0000 (14:51 -0700)
commit7dafcc4c9dfb417fc1ad19881c802af2101d0bfd
tree25b12f38c19de3a1aadb76b70667b4b6e5d43284
parentf55c998c274e3b59f8b07234f16521524c564a23
mlxsw: core: use PSID string define in devlink info

Instead of having the string spelled out in the driver, use the global
define with the same value.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/core.c