Skip to content
Snippets Groups Projects
Commit ce886a47 authored by Wolfram Sang's avatar Wolfram Sang Committed by David S. Miller
Browse files

net: ethernet: cadence: macb_main: simplify getting .driver_data


We should get 'driver_data' from 'struct device' directly. Going via
platform_device is an unneeded step back and forth.

Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 717de370
No related branches found
No related tags found
No related merge requests found
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