mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 02:27:18 +01:00
realtek: replace remove_new with remove
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>
This commit is contained in:
parent
66e6ebbc1e
commit
a2e49c4d72
2 changed files with 4 additions and 4 deletions
|
|
@ -1683,8 +1683,8 @@ static const struct of_device_id rtl83xx_switch_of_ids[] = {
|
|||
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,
|
||||
|
|
|
|||
|
|
@ -1836,8 +1836,8 @@ static const struct of_device_id rtl838x_eth_of_ids[] = {
|
|||
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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue