mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-09 11:12:50 +01:00
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:
parent
25c6c2678e
commit
fc53b04160
4 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue