net: macb: simplify private data allocation
Instead of allocating struct macb_device and a struct eth_device separately just use the eth_device structure that is already embedded in struct macb_device but currently unused. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
drivers/net/macb.c |
---|