commit | 3c4df9577322d27a341c51a821cdf4124db9e63d | [log] [tgz] |
---|---|---|
author | Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> | Thu Jun 24 00:34:40 2021 -0600 |
committer | Michal Simek <michal.simek@xilinx.com> | Mon Jun 28 09:08:20 2021 +0200 |
tree | ec932359cc032621585b5c1e7cba233a2e8f4186 | |
parent | a7077037648f31bded10cf10259dbe3eec8ae582 [diff] |
net: xilinx: axi_emac: Cleanup of of_to_plat() There are lot of accesses to priv data in of_to_plat(), which is incorrect. Create a platform data structure and use it in of_to_plat(), then copy all platform data to priv data in probe. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>