Re: [PATCH 09/12] net: smc911x: Pass around driver private data

2020-03-16 Thread Joe Hershberger
On Sun, Mar 15, 2020 at 12:01 PM Marek Vasut wrote: > > Introduce a private data structure for this driver with embedded > struct eth_device and pass it around. This prepares the driver to > work with both DM and non-DM systems. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Masahiro

[PATCH 09/12] net: smc911x: Pass around driver private data

2020-03-15 Thread Marek Vasut
Introduce a private data structure for this driver with embedded struct eth_device and pass it around. This prepares the driver to work with both DM and non-DM systems. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Masahiro Yamada --- drivers/net/smc911x.c | 234 ++