net: phy: bcm7xxx: Reduce boilerplate code for 40nm EPHY
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 6 Feb 2016 21:09:37 +0000 (13:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2016 19:57:30 +0000 (14:57 -0500)
commit3125c081a5937c548a6673cd7309d688c8c47b7c
tree2a371cceebc4d0d59ae011451bab35faf792fe6d
parent3ccc30552e626934dcbaea7bfa82a4d9eb84ba6d
net: phy: bcm7xxx: Reduce boilerplate code for 40nm EPHY

Introduce a macro which helps adding new 40NM EPHY entries and reduces the
amount of boilerplate code.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm7xxx.c