siflower: 6.12: change .remove_new callback to .remove

Move back to .remove from .remove_new as kernel 6.12 unified the usage
of .remove and .remove_new (and .remove_new is expected to be dropped in
later version)

Signed-off-by: Zhu Yujie <libriunc@gmail.com>
[ improve commit description ]
Link: https://github.com/openwrt/openwrt/pull/20555
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Zhu Yujie 2025-11-19 19:46:32 +08:00 committed by Christian Marangi
parent 25c6c2678e
commit fc53b04160
No known key found for this signature in database
GPG key ID: AC001D09ADBFEAD7
4 changed files with 4 additions and 4 deletions

View file

@ -68,7 +68,7 @@ MODULE_DEVICE_TABLE(of, dpns_match);
static struct platform_driver dpns_driver = {
.probe = dpns_probe,
.remove_new = dpns_remove,
.remove = dpns_remove,
.driver = {
.name = "sfdpns",
.of_match_table = dpns_match,

View file

@ -1606,7 +1606,7 @@ MODULE_DEVICE_TABLE(of, xgmac_dma_match);
static struct platform_driver xgmac_dma_driver = {
.probe = xgmac_dma_probe,
.remove_new = xgmac_dma_remove,
.remove = xgmac_dma_remove,
.driver = {
.name = "sfxgmac_dma",
.of_match_table = xgmac_dma_match,

View file

@ -1288,7 +1288,7 @@ MODULE_DEVICE_TABLE(of, xgmac_match);
static struct platform_driver xgmac_driver = {
.probe = xgmac_probe,
.remove_new = xgmac_remove,
.remove = xgmac_remove,
.driver = {
.name = "sfxgmac",
.of_match_table = xgmac_match,

View file

@ -172,7 +172,7 @@ MODULE_DEVICE_TABLE(of, dwmac_sf19a2890_match);
static struct platform_driver sf19a2890_gmac_driver = {
.probe = sf19a2890_gmac_probe,
.remove_new = stmmac_pltfr_remove,
.remove = stmmac_pltfr_remove,
.driver = {
.name = "sf19a2890-gmac",
.pm = &stmmac_pltfr_pm_ops,