]> 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)
commit5455573ad93f5d158e678e878a4a9a65c3dabfe4
tree01aab76a75431d369676882a4ba7692594252c09
parent4a3dc8c1f4588c9f8502747e4b0b6d07337ed22f
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