generic: remove support for older kernels from swconfig
authorDaniel Golle <daniel@makrotopia.org>
Fri, 20 Sep 2024 18:26:52 +0000 (19:26 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 20 Sep 2024 18:26:52 +0000 (19:26 +0100)
commit8181f09049a0e3188f35f27e5b53fc47b39eec87
treeea7085f2219bb9e1abca70da29e786d331830857
parent3660ddb8ab6e6e4673576a0ee520ea38c67b9d75
generic: remove support for older kernels from swconfig

The legacy swconfig switch driver framework supports kernels older than
Linux 6.6 by using #ifdef'ery with LINUX_VERSION_CODE. Remove all that.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/generic/files/drivers/net/phy/swconfig.c
target/linux/generic/files/drivers/net/phy/swconfig_leds.c