Skip to content
Commit dd3b8a32 authored by Timur Tabi's avatar Timur Tabi Committed by David S. Miller
Browse files

net/fsl-pq-mdio: coalesce multiple memory allocations into one



Take advantage of the new mdiobus_alloc_size() function to combine three
different memory allocations into one.  This also simplies the error
handling.

Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent afae5ad7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment