diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-10-21 23:00:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-22 07:10:11 +0300 |
commit | 63382e0afeda1da79fe0c1ebcfbb6fb38e530fa1 (patch) | |
tree | 6938fbf603f990bba5e0acaf198ff03bb4852616 /drivers/net/dsa/qca8k.c | |
parent | 21ea1d36f6dfcb1d59184937c672022d5d01902a (diff) | |
download | linux-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