net: dsa: microchip: simplify ksz_prmw8()
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Tue, 20 Jun 2023 11:38:52 +0000 (13:38 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Jun 2023 02:48:37 +0000 (19:48 -0700)
commit3b42fbd5951171bce5ecd22ad72d6a16fefaa704
tree8611531e13f4021e12c86d6ae780904c23858b25
parent0c3d6fd4b89c1a6393283249cdd0bd484ad8f2e5
net: dsa: microchip: simplify ksz_prmw8()

Implement ksz_prmw8() in terms of ksz_rmw8(), just as all the other
ksz_pX are implemented in terms of ksz_X. No functional change.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Link: https://lore.kernel.org/r/20230620113855.733526-2-linux@rasmusvillemoes.dk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/microchip/ksz_common.h