commit | 8e9658d56718a62d0586f4dbb61b68b07d3c6cc0 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Fri Oct 21 16:07:21 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 23 17:21:29 2016 -0400 |
tree | e6b2d87811f225f106b4507f5b8f9aaf618f936c | |
parent | 21978dcfc8d847db3e280427547241a59d58ac01 [diff] |
mlxsw: reg: Generare register names automatically Extend the MLXSW_REG_DEFINE macro to store register name in string form. Use this string later on instead of hard coded string values. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>