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)
commit8cc5baefbc0266b6d6c8e99cb8568f59be36a575
tree2d7c8e364b817de1d79201ebe026f381d18fffb1
parent75d0de8c7e7075d40b70b7f57903fd169c47aaa5
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