mlxsw: reg: Avoid magic number in PPCNT
authorNogah Frankel <nogahf@mellanox.com>
Thu, 26 Oct 2017 08:55:33 +0000 (10:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2017 14:25:55 +0000 (23:25 +0900)
commit3e8c1fd31840bd84c31f08e69aa9c338b2856047
treecce79353da9f4da8178b70d7c6cf9d444d033194
parent9deef43ddfb1dfa5f42e4066610cfe606212b0a1
mlxsw: reg: Avoid magic number in PPCNT

Replace recurring magic number in PPCNT register with a define.

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h