summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/qca8k.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2018-10-21 23:00:12 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-22 07:10:11 +0300
commit63382e0afeda1da79fe0c1ebcfbb6fb38e530fa1 (patch)
tree6938fbf603f990bba5e0acaf198ff03bb4852616 /drivers/net/dsa/qca8k.c
parent21ea1d36f6dfcb1d59184937c672022d5d01902a (diff)
downloadlinux-63382e0afeda1da79fe0c1ebcfbb6fb38e530fa1.tar.xz
net: dsa: bcm_sf2: 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: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/qca8k.c')
0 files changed, 0 insertions, 0 deletions