net: dsa: microchip: move vlan functionality to ksz_common
authorArun Ramadoss <arun.ramadoss@microchip.com>
Fri, 17 Jun 2022 08:42:49 +0000 (14:12 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 21 Jun 2022 13:26:45 +0000 (15:26 +0200)
commitf0d997e31bb307c7aa046c4992c568547fd25195
treecafa51f1a257deb81d2465f3705905d3177e5dbc
parent930e579083d72ad57acd667e368e3c65332da65d
net: dsa: microchip: move vlan functionality to ksz_common

This patch moves the vlan dsa_switch_ops such as vlan_add, vlan_del and
vlan_filtering from the individual files ksz8795.c, ksz9477.c to
ksz_common.c file.

Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/microchip/ksz8795.c
drivers/net/dsa/microchip/ksz9477.c
drivers/net/dsa/microchip/ksz_common.c
drivers/net/dsa/microchip/ksz_common.h