Merge branch 'clean-up-ocelot_reset-routine'
authorJakub Kicinski <kuba@kernel.org>
Thu, 22 Sep 2022 01:29:38 +0000 (18:29 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 22 Sep 2022 01:29:38 +0000 (18:29 -0700)
Colin Foster says:

====================
clean up ocelot_reset() routine

ocelot_reset() will soon be exported to a common library to be used by
the ocelot_ext system. This will make error values from regmap calls
possible, so they must be checked. Additionally, readx_poll_timeout()
can be substituted for the custom loop, as a simple cleanup.

I don't have hardware to verify this set directly, but there shouldn't
be any functional changes.
====================

Link: https://lore.kernel.org/r/20220917175127.161504-1-colin.foster@in-advantage.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge