Skip to content

Commit cf02bea

Browse files
sknseankuba-moo
authored andcommitted
net: dsa: microchip: use DSA_TAG_PROTO without _VALUE define
Correct the use of define DSA_TAG_PROTO_LAN937X_VALUE to DSA_TAG_PROTO_LAN937X to improve readability. Signed-off-by: Sean Nyekjaer <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Acked-by: Arun Ramadoss <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent d9f2873 commit cf02bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/dsa/microchip/ksz_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2712,7 +2712,7 @@ static enum dsa_tag_protocol ksz_get_tag_protocol(struct dsa_switch *ds,
27122712
proto = DSA_TAG_PROTO_KSZ9477;
27132713

27142714
if (is_lan937x(dev))
2715-
proto = DSA_TAG_PROTO_LAN937X_VALUE;
2715+
proto = DSA_TAG_PROTO_LAN937X;
27162716

27172717
return proto;
27182718
}

0 commit comments

Comments
 (0)