linux/drivers/misc/mei
Uwe Kleine-König 469b832d44 mei: vsc: 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>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/8e14f0b1cea107e613fa0075b3379a9f1e7ef63f.1708508896.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-03-05 14:28:52 +00:00
..
gsc_proxy mei: rework Kconfig dependencies 2023-12-15 17:02:15 +01:00
hdcp mei: hdcp: add dependency on Xe driver 2024-01-30 16:19:59 -08:00
pxp mei: pxp: add dependency on Xe driver 2024-01-30 16:19:59 -08:00
bus-fixup.c mei: obtain firmware version only on gsc. 2023-07-30 14:17:27 +02:00
bus.c mei: docs: fix spelling errors 2023-10-18 10:01:33 +02:00
client.c misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write 2023-11-27 13:38:29 +00:00
client.h mei: add timeout to send 2022-11-23 19:43:33 +01:00
debugfs.c mei: debugfs: add pxp mode to devstate in debugfs 2022-09-12 15:23:11 +03:00
dma-ring.c misc: mei: dma-ring.c: fix kernel-doc warnings 2023-10-18 10:01:33 +02:00
gsc-me.c mei: gsc: remove unnecessary NULL pointer checks 2024-03-05 14:28:02 +00:00
hbm.c misc: mei: hbm.c: fix kernel-doc warnings 2023-10-18 10:01:33 +02:00
hbm.h mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
hw-me-regs.h mei: me: emit error only if reset was unexpected 2023-10-18 10:01:34 +02:00
hw-me.c mei: me: emit error only if reset was unexpected 2023-10-18 10:01:34 +02:00
hw-me.h mei: docs: add missing entries to kdoc in struct mei_cfg_idx 2023-10-18 10:01:33 +02:00
hw-txe-regs.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw-txe.c Char/Misc and other driver changes for 6.1-rc1 2022-10-08 08:56:37 -07:00
hw-txe.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw.h misc: mei: hw.h: fix kernel-doc warnings 2023-10-18 10:01:33 +02:00
init.c mei: me: emit error only if reset was unexpected 2023-10-18 10:01:34 +02:00
interrupt.c misc: mei: interrupt.c: fix kernel-doc warnings 2023-10-18 10:01:34 +02:00
Kconfig mei: rework Kconfig dependencies 2023-12-15 17:02:15 +01:00
main.c misc: mei: main.c: fix kernel-doc warnings 2023-10-18 10:01:34 +02:00
Makefile mei: Add MEI hardware support for IVSC device 2023-12-07 11:41:40 +09:00
mei_dev.h mei: me: emit error only if reset was unexpected 2023-10-18 10:01:34 +02:00
mei-trace.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
mei-trace.h treewide: Add missing semicolons to __assign_str uses 2021-06-30 09:19:14 -04:00
mkhi.h mei: mkhi: add memory ready command 2022-09-12 15:23:11 +03:00
pci-me.c mei: me: remove unnecessary NULL pointer checks 2024-03-05 14:28:02 +00:00
pci-txe.c mei: txe: remove unnecessary NULL pointer checks 2024-03-05 14:28:02 +00:00
platform-vsc.c mei: vsc: Convert to platform remove callback returning void 2024-03-05 14:28:52 +00:00
vsc-fw-loader.c mei: vsc: Rework firmware image names 2023-12-15 17:01:37 +01:00
vsc-tp.c mei: vsc: Assign pinfo fields in variable declaration 2024-03-05 14:28:22 +00:00
vsc-tp.h mei: Add transport driver for IVSC device 2023-12-07 11:41:40 +09:00