]> 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)
commit33adc9963c0de01dab578f8ad4dcd2b884862c06
tree75b323f51801b90255cb93f3a913e77f8617be9f
parent041293f207c3e3f4d729e7174a10888b0c810394
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