]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit4f48ed32fb62fc1546306c1488e259c0c4f4f462
tree01aab76a75431d369676882a4ba7692594252c09
parente69d9ed4faa10a2b8d8e4d7e2b930d972642830b
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