mlxsw: spectrum: Use NL_SET_ERR_MSG_MOD
authorArkadi Sharshevsky <arkadis@mellanox.com>
Tue, 13 Feb 2018 10:29:05 +0000 (11:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Feb 2018 17:27:20 +0000 (12:27 -0500)
commit6c677750f22db3bb466a95f08b91a1cca8323146
tree33ef49bfb6ee4a035dd74bbb3a4512f3ec95daf5
parentd520d58124e6c1eaa1e53cd834e53b14af8a7f2d
mlxsw: spectrum: Use NL_SET_ERR_MSG_MOD

Use NL_SET_ERR_MSG_MOD helper which adds the module name instead
of specifying the prefix each time.

Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c