]> git.baikalelectronics.ru Git - kernel.git/commit
phy: mdio-octeon: Use devm_mdiobus_alloc_size()
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Jan 2016 19:11:14 +0000 (20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 19:31:25 +0000 (14:31 -0500)
commit9c4d5f7ba89d00422751468ddec950b5be38c642
tree5a31e222bdb1812cee665f134db76bf280a71e1c
parent94166c1d9c1e012d75d141a5b925c2f57035b506
phy: mdio-octeon: Use devm_mdiobus_alloc_size()

Rather than use devm_kzalloc(), use the mdio helper function.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-octeon.c