]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85774e651f3bf3118071c623f227deacad362dfc
treed494728db031abdc6d9d42940e34e736e400c60a
parente71a0d668111a9761158270e3423e9c9ccb62e9b
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