]> 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)
commit35810e638db9324ff3951dbb99dbb6c07a156cdf
tree5a31e222bdb1812cee665f134db76bf280a71e1c
parent5d0dfc54ed11b7a87e1ae56ba47557c965e952d6
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