linux/drivers/mtd/maps
Uwe Kleine-König f88c97c133 mtd: physmap: Drop if with an always false condition
The remove callback is only called after probe completed successfully.
In this case platform_set_drvdata() was called with a non-NULL argument
and so info is never NULL.

This is a preparation for making platform remove callbacks return void.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220603210758.148493-15-u.kleine-koenig@pengutronix.de
2022-06-09 15:06:29 +02:00
..
amd76xrom.c mtd: amd76xrom: remove unnecessary oom message 2021-06-11 20:44:18 +02:00
cfi_flagadm.c
ck804xrom.c mtd: ck804xrom: remove unnecessary oom message 2021-06-11 20:44:14 +02:00
dc21285.c
esb2rom.c mtd: esb2rom: remove unnecessary oom message 2021-06-11 20:44:07 +02:00
ichxrom.c mtd: ichxrom: remove unnecessary oom message 2021-06-11 20:43:58 +02:00
impa7.c
intel_vr_nor.c
Kconfig mtd: maps: ixp4xx: Drop driver 2022-04-25 10:37:49 +02:00
l440gx.c
lantiq-flash.c
Makefile mtd: maps: ixp4xx: Drop driver 2022-04-25 10:37:49 +02:00
map_funcs.c
netsc520.c
nettel.c
pci.c mtd: convert comma to semicolon 2021-02-01 18:58:38 +01:00
pcmciamtd.c
physmap-bt1-rom.c mtd: physmap: physmap-bt1-rom: Fix unintentional stack access 2021-03-11 09:37:48 +01:00
physmap-bt1-rom.h mtd: physmap: Add Baikal-T1 physically mapped ROM support 2020-10-02 09:08:22 +02:00
physmap-core.c mtd: physmap: Drop if with an always false condition 2022-06-09 15:06:29 +02:00
physmap-gemini.c
physmap-gemini.h
physmap-ixp4xx.c
physmap-ixp4xx.h
physmap-versatile.c mtd: maps: Fix refcount leak in ap_flash_init 2022-06-06 14:54:34 +02:00
physmap-versatile.h
pismo.c
plat-ram.c mtd: plat-ram: remove redundant dev_err call in platram_probe() 2021-05-10 10:44:33 +02:00
pxa2xx-flash.c ARM: pxa: split up mach/hardware.h 2022-04-19 16:27:05 +02:00
sa1100-flash.c
sbc_gxx.c
sc520cdp.c
scb2_flash.c
scx200_docflash.c
solutionengine.c
sun_uflash.c mtd: sun_uflash: remove unnecessary oom message 2021-06-11 20:43:52 +02:00
ts5500_flash.c
tsunami_flash.c
uclinux.c
vmu-flash.c mtd: maps: vmu-flash: fix typos for struct memcard 2020-10-02 09:08:27 +02:00