]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Merge branch 'realtek-phy-improvements'
authorDavid S. Miller <davem@davemloft.net>
Sun, 3 Dec 2017 14:38:17 +0000 (09:38 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Dec 2017 14:38:17 +0000 (09:38 -0500)
Martin Blumenstingl says:

====================
Realtek Ethernet PHY driver improvements

This series provides some small improvements and cleanups for the
Realtek Ethernet PHY driver.
None of the patches in this series should change any functionality.
The goal is to make the code a bit easier to read by:
- re-using the BIT and GENMASK macros (which makes it easier to compare
  the #defines in the kernel with the values from the datasheets)
- rename a #define from a generic name to a PHY-specific name since it's
  only used for one specific PHY
- logically group the register #defines and their register bit #defines
  together
- indentation cleanups
- removed some code duplicating for reading/writing registers on a
  Realtek specific "page"
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge