linux-stable/drivers/crypto/qce
Uwe Kleine-König a37049f353 crypto: qce - Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is ignored (apart
from emitting a warning) and this typically results in resource leaks.

To improve here there is a quest to make the remove callback return
void. In the first step of this quest all drivers are converted to
.remove_new(), which already returns void. Eventually after all drivers
are converted, .remove_new() will be renamed to .remove().

Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2023-10-27 18:04:26 +08:00
..
Makefile crypto: qce - Add support for AEAD algorithms 2021-05-14 19:07:55 +08:00
aead.c crypto: qce - Set DMA alignment explicitly 2022-12-09 18:45:00 +08:00
aead.h crypto: qce - Schedule fallback aead algorithm 2021-05-14 19:07:56 +08:00
cipher.h crypto: qce - Remover src_tbl from qce_cipher_reqctx 2021-03-07 15:13:17 +11:00
common.c crypto: qce - Set DMA alignment explicitly 2022-12-09 18:45:00 +08:00
common.h crypto: qce - Add support for AEAD algorithms 2021-05-14 19:07:55 +08:00
core.c crypto: qce - Convert to platform remove callback returning void 2023-10-27 18:04:26 +08:00
core.h crypto: qce - Add support to initialize interconnect path 2023-03-14 17:06:43 +08:00
dma.c crypto: qce - use cryptlen when adding extra sgl 2020-02-13 17:05:26 +08:00
dma.h crypto: qce - use cryptlen when adding extra sgl 2020-02-13 17:05:26 +08:00
regs-v5.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
sha.c crypto: qce - Set DMA alignment explicitly 2022-12-09 18:45:00 +08:00
sha.h crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
skcipher.c crypto: qce - Fix dma_map_sg error check 2022-08-26 18:50:39 +08:00