Skip to content

Commit f847000

Browse files
ukleinekmiquelraynal
authored andcommitted
mtd: Switch back to struct platform_driver::remove()
After commit 0edb555 ("platform: Make platform_driver::remove() return void") .remove() is (again) the right callback to implement for platform drivers. Convert all platform drivers below drivers/mtd to use .remove(), with the eventual goal to drop struct platform_driver::remove_new(). As .remove() and .remove_new() have the same prototypes, conversion is done by just changing the structure member name in the driver initializer. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent 4c9b44e commit f847000

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+74
-74
lines changed

drivers/mtd/devices/bcm47xxsflash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ static void bcm47xxsflash_bcma_remove(struct platform_device *pdev)
367367

368368
static struct platform_driver bcma_sflash_driver = {
369369
.probe = bcm47xxsflash_bcma_probe,
370-
.remove_new = bcm47xxsflash_bcma_remove,
370+
.remove = bcm47xxsflash_bcma_remove,
371371
.driver = {
372372
.name = "bcma_sflash",
373373
},

drivers/mtd/devices/docg3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2075,7 +2075,7 @@ static struct platform_driver g3_driver = {
20752075
},
20762076
.suspend = docg3_suspend,
20772077
.resume = docg3_resume,
2078-
.remove_new = docg3_release,
2078+
.remove = docg3_release,
20792079
};
20802080

20812081
module_platform_driver_probe(g3_driver, docg3_probe);

drivers/mtd/devices/phram.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ static void phram_remove(struct platform_device *pdev)
399399

400400
static struct platform_driver phram_driver = {
401401
.probe = phram_probe,
402-
.remove_new = phram_remove,
402+
.remove = phram_remove,
403403
.driver = {
404404
.name = "phram",
405405
.of_match_table = of_match_ptr(phram_of_match),

drivers/mtd/devices/powernv_flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ static struct platform_driver powernv_flash_driver = {
286286
.name = "powernv_flash",
287287
.of_match_table = powernv_flash_match,
288288
},
289-
.remove_new = powernv_flash_release,
289+
.remove = powernv_flash_release,
290290
.probe = powernv_flash_probe,
291291
};
292292

drivers/mtd/devices/spear_smi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ static struct platform_driver spear_smi_driver = {
10931093
.pm = &spear_smi_pm_ops,
10941094
},
10951095
.probe = spear_smi_probe,
1096-
.remove_new = spear_smi_remove,
1096+
.remove = spear_smi_remove,
10971097
};
10981098
module_platform_driver(spear_smi_driver);
10991099

drivers/mtd/devices/st_spi_fsm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2132,7 +2132,7 @@ MODULE_DEVICE_TABLE(of, stfsm_match);
21322132

21332133
static struct platform_driver stfsm_driver = {
21342134
.probe = stfsm_probe,
2135-
.remove_new = stfsm_remove,
2135+
.remove = stfsm_remove,
21362136
.driver = {
21372137
.name = "st-spi-fsm",
21382138
.of_match_table = stfsm_match,

drivers/mtd/hyperbus/hbmc-am654.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ MODULE_DEVICE_TABLE(of, am654_hbmc_dt_ids);
254254

255255
static struct platform_driver am654_hbmc_platform_driver = {
256256
.probe = am654_hbmc_probe,
257-
.remove_new = am654_hbmc_remove,
257+
.remove = am654_hbmc_remove,
258258
.driver = {
259259
.name = "hbmc-am654",
260260
.of_match_table = am654_hbmc_dt_ids,

drivers/mtd/hyperbus/rpc-if.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ MODULE_DEVICE_TABLE(platform, rpc_if_hyperflash_id_table);
171171

172172
static struct platform_driver rpcif_platform_driver = {
173173
.probe = rpcif_hb_probe,
174-
.remove_new = rpcif_hb_remove,
174+
.remove = rpcif_hb_remove,
175175
.id_table = rpc_if_hyperflash_id_table,
176176
.driver = {
177177
.name = "rpc-if-hyperflash",

drivers/mtd/lpddr/lpddr2_nvm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ static struct platform_driver lpddr2_nvm_drv = {
487487
.name = "lpddr2_nvm",
488488
},
489489
.probe = lpddr2_nvm_probe,
490-
.remove_new = lpddr2_nvm_remove,
490+
.remove = lpddr2_nvm_remove,
491491
};
492492

493493
module_platform_driver(lpddr2_nvm_drv);

drivers/mtd/maps/lantiq-flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ MODULE_DEVICE_TABLE(of, ltq_mtd_match);
184184

185185
static struct platform_driver ltq_mtd_driver = {
186186
.probe = ltq_mtd_probe,
187-
.remove_new = ltq_mtd_remove,
187+
.remove = ltq_mtd_remove,
188188
.driver = {
189189
.name = "ltq-nor",
190190
.of_match_table = ltq_mtd_match,

drivers/mtd/maps/physmap-core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ static void physmap_flash_shutdown(struct platform_device *dev)
621621

622622
static struct platform_driver physmap_flash_driver = {
623623
.probe = physmap_flash_probe,
624-
.remove_new = physmap_flash_remove,
624+
.remove = physmap_flash_remove,
625625
.shutdown = physmap_flash_shutdown,
626626
.driver = {
627627
.name = "physmap-flash",

drivers/mtd/maps/plat-ram.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ MODULE_ALIAS("platform:mtd-ram");
205205

206206
static struct platform_driver platram_driver = {
207207
.probe = platram_probe,
208-
.remove_new = platram_remove,
208+
.remove = platram_remove,
209209
.driver = {
210210
.name = "mtd-ram",
211211
},

drivers/mtd/maps/pxa2xx-flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static struct platform_driver pxa2xx_flash_driver = {
128128
.name = "pxa2xx-flash",
129129
},
130130
.probe = pxa2xx_flash_probe,
131-
.remove_new = pxa2xx_flash_remove,
131+
.remove = pxa2xx_flash_remove,
132132
.shutdown = pxa2xx_flash_shutdown,
133133
};
134134

drivers/mtd/maps/sa1100-flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ static void sa1100_mtd_remove(struct platform_device *pdev)
293293

294294
static struct platform_driver sa1100_mtd_driver = {
295295
.probe = sa1100_mtd_probe,
296-
.remove_new = sa1100_mtd_remove,
296+
.remove = sa1100_mtd_remove,
297297
.driver = {
298298
.name = "sa1100-mtd",
299299
},

drivers/mtd/maps/sun_uflash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ static struct platform_driver uflash_driver = {
149149
.of_match_table = uflash_match,
150150
},
151151
.probe = uflash_probe,
152-
.remove_new = uflash_remove,
152+
.remove = uflash_remove,
153153
};
154154

155155
module_platform_driver(uflash_driver);

drivers/mtd/nand/ecc-mxic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ static struct platform_driver mxic_ecc_driver = {
869869
.of_match_table = mxic_ecc_of_ids,
870870
},
871871
.probe = mxic_ecc_probe,
872-
.remove_new = mxic_ecc_remove,
872+
.remove = mxic_ecc_remove,
873873
};
874874
module_platform_driver(mxic_ecc_driver);
875875

drivers/mtd/nand/onenand/generic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static struct platform_driver generic_onenand_driver = {
104104
.name = DRIVER_NAME,
105105
},
106106
.probe = generic_onenand_probe,
107-
.remove_new = generic_onenand_remove,
107+
.remove = generic_onenand_remove,
108108
};
109109

110110
module_platform_driver(generic_onenand_driver);

drivers/mtd/nand/onenand/onenand_omap2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ MODULE_DEVICE_TABLE(of, omap2_onenand_id_table);
593593

594594
static struct platform_driver omap2_onenand_driver = {
595595
.probe = omap2_onenand_probe,
596-
.remove_new = omap2_onenand_remove,
596+
.remove = omap2_onenand_remove,
597597
.shutdown = omap2_onenand_shutdown,
598598
.driver = {
599599
.name = DRIVER_NAME,

drivers/mtd/nand/onenand/onenand_samsung.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ static struct platform_driver s3c_onenand_driver = {
991991
},
992992
.id_table = s3c_onenand_driver_ids,
993993
.probe = s3c_onenand_probe,
994-
.remove_new = s3c_onenand_remove,
994+
.remove = s3c_onenand_remove,
995995
};
996996

997997
module_platform_driver(s3c_onenand_driver);

drivers/mtd/nand/raw/ams-delta.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ MODULE_DEVICE_TABLE(platform, gpio_nand_plat_id_table);
432432

433433
static struct platform_driver gpio_nand_driver = {
434434
.probe = gpio_nand_probe,
435-
.remove_new = gpio_nand_remove,
435+
.remove = gpio_nand_remove,
436436
.id_table = gpio_nand_plat_id_table,
437437
.driver = {
438438
.name = "ams-delta-nand",

drivers/mtd/nand/raw/arasan-nand-controller.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,7 @@ static struct platform_driver anfc_driver = {
15001500
.of_match_table = anfc_ids,
15011501
},
15021502
.probe = anfc_probe,
1503-
.remove_new = anfc_remove,
1503+
.remove = anfc_remove,
15041504
};
15051505
module_platform_driver(anfc_driver);
15061506

drivers/mtd/nand/raw/atmel/nand-controller.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2663,7 +2663,7 @@ static struct platform_driver atmel_nand_controller_driver = {
26632663
.pm = &atmel_nand_controller_pm_ops,
26642664
},
26652665
.probe = atmel_nand_controller_probe,
2666-
.remove_new = atmel_nand_controller_remove,
2666+
.remove = atmel_nand_controller_remove,
26672667
};
26682668
module_platform_driver(atmel_nand_controller_driver);
26692669

drivers/mtd/nand/raw/au1550nd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ static struct platform_driver au1550nd_driver = {
357357
.name = "au1550-nand",
358358
},
359359
.probe = au1550nd_probe,
360-
.remove_new = au1550nd_remove,
360+
.remove = au1550nd_remove,
361361
};
362362

363363
module_platform_driver(au1550nd_driver);

drivers/mtd/nand/raw/bcm47xxnflash/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static void bcm47xxnflash_remove(struct platform_device *pdev)
7070

7171
static struct platform_driver bcm47xxnflash_driver = {
7272
.probe = bcm47xxnflash_probe,
73-
.remove_new = bcm47xxnflash_remove,
73+
.remove = bcm47xxnflash_remove,
7474
.driver = {
7575
.name = "bcma_nflash",
7676
},

drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ MODULE_DEVICE_TABLE(of, bcm6368_nand_of_match);
117117

118118
static struct platform_driver bcm6368_nand_driver = {
119119
.probe = bcm6368_nand_probe,
120-
.remove_new = brcmnand_remove,
120+
.remove = brcmnand_remove,
121121
.driver = {
122122
.name = "bcm6368_nand",
123123
.pm = &brcmnand_pm_ops,

drivers/mtd/nand/raw/brcmnand/bcma_nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ static int brcmnand_bcma_nand_probe(struct platform_device *pdev)
119119

120120
static struct platform_driver brcmnand_bcma_nand_driver = {
121121
.probe = brcmnand_bcma_nand_probe,
122-
.remove_new = brcmnand_remove,
122+
.remove = brcmnand_remove,
123123
.driver = {
124124
.name = "bcma_brcmnand",
125125
.pm = &brcmnand_pm_ops,

drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ MODULE_DEVICE_TABLE(of, bcmbca_nand_of_match);
112112

113113
static struct platform_driver bcmbca_nand_driver = {
114114
.probe = bcmbca_nand_probe,
115-
.remove_new = brcmnand_remove,
115+
.remove = brcmnand_remove,
116116
.driver = {
117117
.name = "bcmbca_nand",
118118
.pm = &brcmnand_pm_ops,

drivers/mtd/nand/raw/brcmnand/brcmstb_nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static int brcmstb_nand_probe(struct platform_device *pdev)
2323

2424
static struct platform_driver brcmstb_nand_driver = {
2525
.probe = brcmstb_nand_probe,
26-
.remove_new = brcmnand_remove,
26+
.remove = brcmnand_remove,
2727
.driver = {
2828
.name = "brcmstb_nand",
2929
.pm = &brcmnand_pm_ops,

drivers/mtd/nand/raw/brcmnand/iproc_nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ MODULE_DEVICE_TABLE(of, iproc_nand_of_match);
134134

135135
static struct platform_driver iproc_nand_driver = {
136136
.probe = iproc_nand_probe,
137-
.remove_new = brcmnand_remove,
137+
.remove = brcmnand_remove,
138138
.driver = {
139139
.name = "iproc_nand",
140140
.pm = &brcmnand_pm_ops,

drivers/mtd/nand/raw/cadence-nand-controller.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3055,7 +3055,7 @@ static void cadence_nand_dt_remove(struct platform_device *ofdev)
30553055

30563056
static struct platform_driver cadence_nand_dt_driver = {
30573057
.probe = cadence_nand_dt_probe,
3058-
.remove_new = cadence_nand_dt_remove,
3058+
.remove = cadence_nand_dt_remove,
30593059
.driver = {
30603060
.name = "cadence-nand-controller",
30613061
.of_match_table = cadence_nand_dt_ids,

drivers/mtd/nand/raw/davinci_nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ static void nand_davinci_remove(struct platform_device *pdev)
901901

902902
static struct platform_driver nand_davinci_driver = {
903903
.probe = nand_davinci_probe,
904-
.remove_new = nand_davinci_remove,
904+
.remove = nand_davinci_remove,
905905
.driver = {
906906
.name = "davinci_nand",
907907
.of_match_table = of_match_ptr(davinci_nand_of_match),

drivers/mtd/nand/raw/denali_dt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ static void denali_dt_remove(struct platform_device *pdev)
225225

226226
static struct platform_driver denali_dt_driver = {
227227
.probe = denali_dt_probe,
228-
.remove_new = denali_dt_remove,
228+
.remove = denali_dt_remove,
229229
.driver = {
230230
.name = "denali-nand-dt",
231231
.of_match_table = denali_nand_dt_ids,

drivers/mtd/nand/raw/fsl_elbc_nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ static struct platform_driver fsl_elbc_nand_driver = {
999999
.of_match_table = fsl_elbc_nand_match,
10001000
},
10011001
.probe = fsl_elbc_nand_probe,
1002-
.remove_new = fsl_elbc_nand_remove,
1002+
.remove = fsl_elbc_nand_remove,
10031003
};
10041004

10051005
module_platform_driver(fsl_elbc_nand_driver);

drivers/mtd/nand/raw/fsl_ifc_nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@ static struct platform_driver fsl_ifc_nand_driver = {
11301130
.of_match_table = fsl_ifc_nand_match,
11311131
},
11321132
.probe = fsl_ifc_nand_probe,
1133-
.remove_new = fsl_ifc_nand_remove,
1133+
.remove = fsl_ifc_nand_remove,
11341134
};
11351135

11361136
module_platform_driver(fsl_ifc_nand_driver);

drivers/mtd/nand/raw/fsl_upm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ static struct platform_driver of_fun_driver = {
259259
.of_match_table = of_fun_match,
260260
},
261261
.probe = fun_probe,
262-
.remove_new = fun_remove,
262+
.remove = fun_remove,
263263
};
264264

265265
module_platform_driver(of_fun_driver);

drivers/mtd/nand/raw/fsmc_nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ static const struct of_device_id fsmc_nand_id_table[] = {
12211221
MODULE_DEVICE_TABLE(of, fsmc_nand_id_table);
12221222

12231223
static struct platform_driver fsmc_nand_driver = {
1224-
.remove_new = fsmc_nand_remove,
1224+
.remove = fsmc_nand_remove,
12251225
.driver = {
12261226
.name = "fsmc-nand",
12271227
.of_match_table = fsmc_nand_id_table,

drivers/mtd/nand/raw/gpio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ static int gpio_nand_probe(struct platform_device *pdev)
392392

393393
static struct platform_driver gpio_nand_driver = {
394394
.probe = gpio_nand_probe,
395-
.remove_new = gpio_nand_remove,
395+
.remove = gpio_nand_remove,
396396
.driver = {
397397
.name = "gpio-nand",
398398
.of_match_table = of_match_ptr(gpio_nand_id_table),

drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2876,8 +2876,8 @@ static struct platform_driver gpmi_nand_driver = {
28762876
.pm = &gpmi_pm_ops,
28772877
.of_match_table = gpmi_nand_id_table,
28782878
},
2879-
.probe = gpmi_nand_probe,
2880-
.remove_new = gpmi_nand_remove,
2879+
.probe = gpmi_nand_probe,
2880+
.remove = gpmi_nand_remove,
28812881
};
28822882
module_platform_driver(gpmi_nand_driver);
28832883

drivers/mtd/nand/raw/hisi504_nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ static struct platform_driver hisi_nfc_driver = {
858858
.pm = &hisi_nfc_pm_ops,
859859
},
860860
.probe = hisi_nfc_probe,
861-
.remove_new = hisi_nfc_remove,
861+
.remove = hisi_nfc_remove,
862862
};
863863

864864
module_platform_driver(hisi_nfc_driver);

drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ MODULE_DEVICE_TABLE(of, ingenic_nand_dt_match);
549549

550550
static struct platform_driver ingenic_nand_driver = {
551551
.probe = ingenic_nand_probe,
552-
.remove_new = ingenic_nand_remove,
552+
.remove = ingenic_nand_remove,
553553
.driver = {
554554
.name = DRV_NAME,
555555
.of_match_table = ingenic_nand_dt_match,

drivers/mtd/nand/raw/intel-nand-controller.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ MODULE_DEVICE_TABLE(of, ebu_nand_match);
728728

729729
static struct platform_driver ebu_nand_driver = {
730730
.probe = ebu_nand_probe,
731-
.remove_new = ebu_nand_remove,
731+
.remove = ebu_nand_remove,
732732
.driver = {
733733
.name = "intel-nand-controller",
734734
.of_match_table = ebu_nand_match,

drivers/mtd/nand/raw/lpc32xx_mlc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ MODULE_DEVICE_TABLE(of, lpc32xx_nand_match);
891891

892892
static struct platform_driver lpc32xx_nand_driver = {
893893
.probe = lpc32xx_nand_probe,
894-
.remove_new = lpc32xx_nand_remove,
894+
.remove = lpc32xx_nand_remove,
895895
.resume = pm_ptr(lpc32xx_nand_resume),
896896
.suspend = pm_ptr(lpc32xx_nand_suspend),
897897
.driver = {

drivers/mtd/nand/raw/lpc32xx_slc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ MODULE_DEVICE_TABLE(of, lpc32xx_nand_match);
10101010

10111011
static struct platform_driver lpc32xx_nand_driver = {
10121012
.probe = lpc32xx_nand_probe,
1013-
.remove_new = lpc32xx_nand_remove,
1013+
.remove = lpc32xx_nand_remove,
10141014
.resume = pm_ptr(lpc32xx_nand_resume),
10151015
.suspend = pm_ptr(lpc32xx_nand_suspend),
10161016
.driver = {

drivers/mtd/nand/raw/marvell_nand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3183,7 +3183,7 @@ static struct platform_driver marvell_nfc_driver = {
31833183
},
31843184
.id_table = marvell_nfc_platform_ids,
31853185
.probe = marvell_nfc_probe,
3186-
.remove_new = marvell_nfc_remove,
3186+
.remove = marvell_nfc_remove,
31873187
};
31883188
module_platform_driver(marvell_nfc_driver);
31893189

0 commit comments

Comments
 (0)