net: luton: remove address translation after ofnode_read_resource
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 21 May 2021 10:24:59 +0000 (12:24 +0200)
committerSimon Glass <sjg@chromium.org>
Sat, 5 Jun 2021 13:35:47 +0000 (07:35 -0600)
commit0d1ab576f2e706f221b42e229eeabc80e5b51d35
tree2c331c47ffeefc780a155d021c37b0f497889833
parentca2f948a4b44b587db760510e324c87fda02c15e
net: luton: remove address translation after ofnode_read_resource

Removed call of ofnode_translate_address() after ofnode_read_resource
in luton_switch.c:luton_probe(); it is unnecessary since
the commit feb7ac457c20 ("dm: core: Add address translation in
fdt_get_resource").

Fixes: feb7ac457c20 ("dm: core: Add address translation in fdt_get_resource")
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reported-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
drivers/net/mscc_eswitch/luton_switch.c