Merge branch 'r8169-phy-func-ptr-arrays'
authorDavid S. Miller <davem@davemloft.net>
Sun, 14 Apr 2019 20:50:05 +0000 (13:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Apr 2019 20:50:05 +0000 (13:50 -0700)
commit0ed1d3ddedb91158d2756b10c80a6281668bc2eb
tree83ef818d93be39c4bcb7a9ec914f22268255730d
parentc19571264dd753a8fb7d2ca2d493ef709a57a9c6
parent8344ffffd176688d5ba7423ac8cf053d8ab739e7
Merge branch 'r8169-phy-func-ptr-arrays'

Heiner Kallweit says:

====================
r8169: create function pointer arrays for PHY and chip hw init functions

Using function pointer arrays makes the code easier to read and better
maintainable. AFAIK function pointer arrays cause some performance
drawback due to Spectre mitigation, but we're not in a hot path.
====================

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