bgmac: use phy_mii_ioctl in ioctl handler
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 20 Dec 2013 14:34:45 +0000 (15:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Dec 2013 18:28:02 +0000 (13:28 -0500)
commit69c588529d71b0cae55e5e314b27b1d0300d2e02
treeaaf85455cc27255f7c66f78bae6c1c8ca447f0f9
parent5322dbf00ad7862272d460d4711401cd4ef5b760
bgmac: use phy_mii_ioctl in ioctl handler

This works pretty much the same way, so avoid duplicating the code.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c