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>
1 parent a00a049 commit a68d4847bc27c7c50100308d6557330904ba096d
@Sascha Hauer Sascha Hauer authored on 2 Nov 2018
Showing 1 changed file
View
drivers/net/macb.c