]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit35d2aeac9810ca717a72a4ff0d8a20d349e73e55
tree5a31e222bdb1812cee665f134db76bf280a71e1c
parent2220943a21e26d97d7fd8f83c004b947326b469d
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