Skip to content
Commit a26a660e authored by Antoniu Miclaus's avatar Antoniu Miclaus Committed by Carles Cufí
Browse files

drivers: ethernet: adin2111: fix device assignment



`k_thread_create` function has the 'adin' device passed as 1st
entry pointer. Therefore the device configuration is obtained directly
from the `dev` structure.

Adujst the code accodringly.

Fixes: 75dde83 ("drivers: ethernet: adin2111: add adin1110 support")
Signed-off-by: default avatarAntoniu Miclaus <antoniu.miclaus@analog.com>
parent 254ee94f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment