Replace remove_new callback in struct platform_driver with remove. This
was just meant for a transition period. remove_new is dropped with 6.13.
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21430
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
MODULE_DEVICE_TABLE(of, rtl83xx_switch_of_ids);
static struct platform_driver rtl83xx_switch_driver = {
- .probe = rtl83xx_sw_probe,
- .remove_new = rtl83xx_sw_remove,
+ .probe = rtl83xx_sw_probe,
+ .remove = rtl83xx_sw_remove,
.driver = {
.name = "rtl83xx-switch",
.pm = NULL,
MODULE_DEVICE_TABLE(of, rtl838x_eth_of_ids);
static struct platform_driver rtl838x_eth_driver = {
- .probe = rtl838x_eth_probe,
- .remove_new = rtl838x_eth_remove,
+ .probe = rtl838x_eth_probe,
+ .remove = rtl838x_eth_remove,
.driver = {
.name = "rtl838x-eth",
.pm = NULL,