Skip to content
Snippets Groups Projects
Commit b96ecfa6 authored by Phil Sutter's avatar Phil Sutter Committed by David S. Miller
Browse files

korina: fix usage of driver_data


Using platform_set_drvdata() here makes no sense, since the driver_data
field has already been filled with valuable data (i.e. the MAC address).
Also having driver_data point to the net_device is rather pointless
since struct korina_device contains an apropriate field for it.

Signed-off-by: default avatarPhil Sutter <n0-1@freewrt.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0ef00459
No related branches found
No related tags found
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