commit | 215f2064c365ffc2b9fad65248fee7bcf70f92b1 | [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 | da1af52f751993cc34abf423497f48c713d633a2 [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>