Commit 21978dcf authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

mlxsw: reg: Use helper macro to define registers

Save some code and also prepare to easily carry name in string form.
Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Acked-by: default avatarIdo Schimmel <idosch@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 412791df
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment