mirror-linux/drivers/mtd/devices
Uwe Kleine-König f8470006c4 mtd: Switch back to struct platform_driver::remove()
After commit 0edb555a65 ("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 <u.kleine-koenig@baylibre.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20241007205803.444994-10-u.kleine-koenig@baylibre.com
2024-10-21 11:58:07 +02:00
..
Kconfig mtd: remove lart flash driver 2022-11-07 17:14:14 +01:00
Makefile mtd: remove lart flash driver 2022-11-07 17:14:14 +01:00
bcm47xxsflash.c mtd: Switch back to struct platform_driver::remove() 2024-10-21 11:58:07 +02:00
bcm47xxsflash.h
block2mtd.c block2mtd: prevent direct access of bd_inode 2024-05-03 02:36:21 -04:00
docg3.c mtd: Switch back to struct platform_driver::remove() 2024-10-21 11:58:07 +02:00
docg3.h
mchp23k256.c mtd: mchp23k256: drop unneeded MODULE_ALIAS 2024-04-15 12:06:06 +02:00
mchp48l640.c mtd: Explicitly include correct DT includes 2023-07-27 17:03:41 +02:00
ms02-nv.c mtd: devices: Remove superfluous "break" 2021-05-26 10:58:26 +02:00
ms02-nv.h
mtd_dataflash.c mtd: dataflash: Follow renaming of SPI "master" to "controller" 2024-02-08 11:54:44 +00:00
mtdram.c
phram.c mtd: Switch back to struct platform_driver::remove() 2024-10-21 11:58:07 +02:00
pmc551.c
powernv_flash.c mtd: Switch back to struct platform_driver::remove() 2024-10-21 11:58:07 +02:00
serial_flash_cmds.h
slram.c mtd: slram: insert break after errors in parsing the map 2024-08-23 19:25:46 +02:00
spear_smi.c mtd: Switch back to struct platform_driver::remove() 2024-10-21 11:58:07 +02:00
sst25l.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
st_spi_fsm.c mtd: Switch back to struct platform_driver::remove() 2024-10-21 11:58:07 +02:00