diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-10-21 22:01:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-23 04:49:04 +0200 |
commit | 2af1ccd58107d65f87b747c90a965b2ba97b4feb (patch) | |
tree | 30e5407166282b1c4036c407f011f9890caab917 /net/llc/af_llc.c | |
parent | ptp: ptp_dte: simplify getting .driver_data (diff) | |
download | linux-2af1ccd58107d65f87b747c90a965b2ba97b4feb.tar.xz linux-2af1ccd58107d65f87b747c90a965b2ba97b4feb.zip |
net: dsa: legacy: 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>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc/af_llc.c')
0 files changed, 0 insertions, 0 deletions