OSDN Git Service

net/mlxfw: Convert pr_* to dev_* in mlxfw_fsm.c
authorSaeed Mahameed <saeedm@mellanox.com>
Fri, 21 Feb 2020 21:46:05 +0000 (21:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Feb 2020 23:41:10 +0000 (15:41 -0800)
commit6a3f707c0051a5a3edb149f361d7af059fa633e9
treed494728db031abdc6d9d42940e34e736e400c60a
parentf7fe7aa88fa25e5d58056f939c0e1e6d5d93b3ff
net/mlxfw: Convert pr_* to dev_* in mlxfw_fsm.c

Introduce mlxfw_{info, err, dbg} macros and make them call corresponding
dev_* macros, then convert all instances of pr_* to mlxfw_*.

This will allow printing the device name mlxfw is operating on.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxfw/mlxfw.h
drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c