net: octeontx: smi: use dt live tree API
authorTim Harvey <tharvey@gateworks.com>
Thu, 17 Jun 2021 23:08:54 +0000 (16:08 -0700)
committerRamon Fried <rfried.dev@gmail.com>
Fri, 18 Jun 2021 08:29:17 +0000 (11:29 +0300)
commit54c321f9deeba309989f0828e4d0427cbfbefcd3
tree3cdea4854ba0e8755aff49c43579eb2756ff3349
parent75efe7dc996ddb9835590b1a8970f19b5c4b1ade
net: octeontx: smi: use dt live tree API

clean up octeontx_smi_probe by using the live-tree API.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/octeontx/smi.c