Oleksij Rempel 89183b6ea8 net: asix: remove code duplicates in asix_mdio_read/write and asix_mdio_read/write_nopm
This functions are mostly same except of one hard coded "in_pm" variable.
So, rework them to reduce maintenance overhead.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20220223110633.3006551-1-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-02-24 21:21:30 -08:00
..
2021-10-02 14:18:25 +01:00
2021-06-17 11:30:25 -07:00
2021-06-01 17:05:05 -07:00
2021-10-02 14:18:25 +01:00
2021-06-01 17:05:05 -07:00
2021-10-22 10:15:56 -07:00