]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: realtek: use the BIT and GENMASK macros
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 2 Dec 2017 21:51:24 +0000 (22:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Dec 2017 14:38:16 +0000 (09:38 -0500)
commit8af6546620ecd60088940f067b4f995ad204294f
tree2d7c8e364b817de1d79201ebe026f381d18fffb1
parenta8fd8e8fe012c078d2e9168373ebcef54610fe60
net: phy: realtek: use the BIT and GENMASK macros

This makes it easier to compare the #defines with the datasheets.
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/realtek.c