net: dc2114x: Pass private data around
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 8 Jul 2020 04:46:09 +0000 (06:46 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 25 Jul 2020 09:24:02 +0000 (11:24 +0200)
commitfcd6217813661c07f707e804a46886c56d48d0e8
tree2de662ae51fa2819fdba8caf97b8c9348b93cd46
parent2301a4be6cef590237db93746e529bdb666e49f2
net: dc2114x: Pass private data around

This patch replaces the various uses of struct eth_device for accessing
device private data with struct dc2114x_priv, which is compatible both
with DM and non-DM operation.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
drivers/net/dc2114x.c