diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-10-21 22:00:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-22 19:48:35 -0700 |
commit | c0bfdae013e809b209ac325a9895b9ba22599c93 (patch) | |
tree | 769ca2cbf401dd2ae0f24bae9d921e321496f741 /net/dsa/legacy.c | |
parent | 00f17a8219f02139119d8b4547e032bf4888fa0d (diff) |
ptp: ptp_dte: 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>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/legacy.c')
0 files changed, 0 insertions, 0 deletions