aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/st_spi_fsm.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2022-06-07 08:25:03 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-06-09 15:06:31 +0200
commit1cc82e09fc20dbb1f3aa41e9924c48e8194da754 (patch)
tree0b053125817bd5a22f50e07c2d072ebc2031c1b2 /drivers/mtd/devices/st_spi_fsm.c
parentmtd: physmap: Drop if with an always false condition (diff)
downloadlinux-dev-1cc82e09fc20dbb1f3aa41e9924c48e8194da754.tar.xz
linux-dev-1cc82e09fc20dbb1f3aa41e9924c48e8194da754.zip
mtd: rawnand: atmel: Warn about failure to unregister mtd device
The Linux device core doesn't intend remove callbacks to fail. If an error code is returned the device is removed anyhow. So wail loudly if the atmel specific remove callback fails and return 0 anyhow to suppress the generic (and little helpful) error message by the device core. 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/20220607062503.211345-1-u.kleine-koenig@pengutronix.de
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions