linux-next/drivers/net/ipa
Uwe Kleine-König a92dbb9cdf net: ipa: 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.

Link: https://lore.kernel.org/r/20231117095922.876489-3-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/c43193b9a002e88da36b111bb44ce2973ecde722.1701713943.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-12-05 19:51:09 -08:00
..
data net: ipa: add IPA v5.5 configuration data 2023-11-24 12:18:55 +00:00
reg net: ipa: add IPA v5.5 register definitions 2023-11-24 12:18:55 +00:00
gsi_private.h net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
gsi_reg.c net: ipa: add IPA v5.5 register definitions 2023-11-24 12:18:55 +00:00
gsi_reg.h net: ipa: add IPA v5.0 GSI register definitions 2023-03-22 22:44:00 -07:00
gsi_trans.c net: ipa: compute DMA pool size properly 2023-03-29 21:27:40 -07:00
gsi_trans.h net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
gsi.c net: ipa: add HW_PARAM_4 GSI register 2023-02-20 08:14:20 +01:00
gsi.h net: ipa: add IPA v5.0 GSI register definitions 2023-03-22 22:44:00 -07:00
ipa_cmd.c net: ipa: generalize register offset functions 2023-02-10 08:06:32 +00:00
ipa_cmd.h net: ipa: introduce ipa_cmd_init() 2022-10-25 11:15:19 +02:00
ipa_data.h net: ipa: add IPA v5.5 configuration data 2023-11-24 12:18:55 +00:00
ipa_endpoint.c net: ipa: Use correct value for IPA_STATUS_SIZE 2023-06-01 13:29:18 +02:00
ipa_endpoint.h net: ipa: support more endpoints 2023-01-31 21:45:51 -08:00
ipa_gsi.c net: ipa: include declarations in "ipa_gsi.c" 2020-07-07 12:43:18 -07:00
ipa_gsi.h net: ipa: fix kerneldoc comments 2020-07-13 17:11:53 -07:00
ipa_interrupt.c net: ipa: generalize register offset functions 2023-02-10 08:06:32 +00:00
ipa_interrupt.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-01-20 12:28:23 -08:00
ipa_main.c net: ipa: Convert to platform remove callback returning void 2023-12-05 19:51:09 -08:00
ipa_mem.c net: ipa: prepare for IPA v5.5 2023-11-24 12:18:55 +00:00
ipa_mem.h net: ipa: define two new memory regions 2023-01-31 21:45:52 -08:00
ipa_modem.c net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
ipa_modem.h net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
ipa_power.c net: ipa: Annotate struct ipa_power with __counted_by 2023-10-02 11:24:54 -07:00
ipa_power.h net: ipa: register IPA interrupt handlers directly 2023-01-05 22:03:14 -08:00
ipa_qmi_msg.c net: ipa: Make QMI message rules const 2022-10-21 12:39:16 +01:00
ipa_qmi_msg.h net: ipa: Make QMI message rules const 2022-10-21 12:39:16 +01:00
ipa_qmi.c net: ipa: don't assume 8 modem routing table entries 2022-10-27 13:38:13 +02:00
ipa_qmi.h net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
ipa_reg.c net: ipa: add IPA v5.5 register definitions 2023-11-24 12:18:55 +00:00
ipa_reg.h net: ipa: add IPA v5.5 register definitions 2023-11-24 12:18:55 +00:00
ipa_resource.c net: ipa: generalize register field functions 2023-02-10 08:06:32 +00:00
ipa_resource.h net: ipa: get rid of empty IPA functions 2021-04-09 20:57:25 -07:00
ipa_smp2p.c net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
ipa_smp2p.h net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
ipa_sysfs.c net: ipa: add IPA v5.0 to ipa_version_string() 2023-03-23 21:48:32 -07:00
ipa_sysfs.h net: ipa: update copyrights 2022-10-03 16:49:20 -07:00
ipa_table.c net: ipa: only reset hashed tables when supported 2023-07-25 20:34:20 -07:00
ipa_table.h net: ipa: support more filtering endpoints 2022-11-04 10:16:53 +00:00
ipa_uc.c net: ipa: generalize register field functions 2023-02-10 08:06:32 +00:00
ipa_uc.h net: ipa: register IPA interrupt handlers directly 2023-01-05 22:03:14 -08:00
ipa_version.h net: ipa: add IPA v5.5 configuration data 2023-11-24 12:18:55 +00:00
ipa.h net: ipa: start generalizing "ipa_reg" 2023-02-10 08:06:32 +00:00
Kconfig net: ipa: add an interconnect dependency 2022-03-02 22:14:05 -08:00
Makefile net: ipa: add IPA v5.5 configuration data 2023-11-24 12:18:55 +00:00
reg.h net: ipa: reg: include <linux/bug.h> 2023-03-16 21:33:18 -07:00