Skip to content
Commit 105b0468 authored by zhaoxiao's avatar zhaoxiao Committed by David S. Miller
Browse files

net: freescale: xgmac: Do not dereference fwnode in struct device



In order to make the underneath API easier to change in the future,
prevent users from dereferencing fwnode from struct device.
Instead, use the specific dev_fwnode() API for that.

Signed-off-by: default avatarzhaoxiao <zhaoxiao@uniontech.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1202cdd6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment