mlxsw: Put constant on the right side of comparisons
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 28 Oct 2015 09:17:03 +0000 (10:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Oct 2015 03:26:54 +0000 (12:26 +0900)
commitef743fddb33f47b34c852f26fbd2057c72c70016
tree6f2040aafb909089f891c55a41c17d0463cfd30c
parent135f9eceb7fa0287e535f9ec921485661e9d6667
mlxsw: Put constant on the right side of comparisons

Fixes those places where checkpatch complains that comparisons
should place the constant on the right side of the test.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/switchx2.c