]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell: Checkpatch - assignments and comparisons
authorAndrew Lunn <andrew@lunn.ch>
Wed, 17 May 2017 01:26:01 +0000 (03:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 May 2017 20:27:51 +0000 (16:27 -0400)
commit6ea5479c813b0fb7d734a63ff8d9ae6e61d49bcc
tree01aab76a75431d369676882a4ba7692594252c09
parent8c9616a65f2d61beb7cec0694e58705f56425471
net: phy: marvell: Checkpatch - assignments and comparisons

Avoid multiple assignments
Comparisons should place the constant on the right side of the test

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c