]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: icplus: use the BIT macro where possible
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 18 Nov 2018 21:23:56 +0000 (22:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Nov 2018 00:16:20 +0000 (16:16 -0800)
commit69e5a7e4cf71bd0b9719afb53b3df2738125cb58
tree75b323f51801b90255cb93f3a913e77f8617be9f
parentd23399f2d469fba984505160d87c75924a9b2f22
net: phy: icplus: use the BIT macro where possible

This makes the code consistent by using the BIT() macro instead of
manual bit-shifting for some of the fields. No functional changes.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/icplus.c