linux/drivers/net/ethernet/ti
Uwe Kleine-König 231ea972cc net: ethernet: ti: 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() is renamed to .remove().

Trivially convert these drivers 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>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> # cpmac
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-09-20 09:06:41 +01:00
..
icssg net: ti: icssg-prueth: Add support for half duplex operation 2023-09-15 13:54:34 +01:00
Kconfig net: ti: icssg-prueth: add packet timestamping and ptp support 2023-08-27 07:13:23 +01:00
Makefile net: ti: icss-iep: Add IEP driver 2023-08-27 07:13:23 +01:00
am65-cpsw-ethtool.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
am65-cpsw-nuss.c Revert "net: ethernet: ti: am65-cpsw: add mqprio qdisc offload in channel mode" 2023-08-16 19:33:54 -07:00
am65-cpsw-nuss.h net: ethernet: ti: Remove unused declarations 2023-08-22 10:33:21 -07:00
am65-cpsw-qos.c Revert "net: ethernet: ti: am65-cpsw: add mqprio qdisc offload in channel mode" 2023-08-16 19:33:54 -07:00
am65-cpsw-qos.h Revert "net: ethernet: ti: am65-cpsw: add mqprio qdisc offload in channel mode" 2023-08-16 19:33:54 -07:00
am65-cpsw-switchdev.c net: ti: am65-cpsw-nuss: remove guards against !BRIDGE_VLAN_INFO_BRENTRY 2022-02-17 14:17:10 +00:00
am65-cpsw-switchdev.h
am65-cpts.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-24 10:10:20 -07:00
am65-cpts.h net: ethernet: ti: am65-cpsw/cpts: Fix CPTS release action 2023-01-24 10:08:50 +01:00
cpmac.c net: ethernet: ti: Convert to platform remove callback returning void 2023-09-20 09:06:41 +01:00
cpsw-common.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
cpsw-phy-sel.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
cpsw.c page_pool: split types and declarations from page_pool.h 2023-08-07 13:05:19 -07:00
cpsw.h
cpsw_ale.c net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()/cpsw_ale_set_field() 2023-07-14 08:36:43 +01:00
cpsw_ale.h net: ethernet: ti: cpsw_ale: Add cpsw_ale_restore() helper 2022-11-07 12:20:03 +00:00
cpsw_ethtool.c drivers: ethernet: cpsw: fix panic when interrupt coaleceing is set via ethtool 2022-03-23 10:46:42 -07:00
cpsw_new.c page_pool: split types and declarations from page_pool.h 2023-08-07 13:05:19 -07:00
cpsw_priv.c page_pool: split types and declarations from page_pool.h 2023-08-07 13:05:19 -07:00
cpsw_priv.h eth: add missing xdp.h includes in drivers 2023-08-03 08:38:07 -07:00
cpsw_sl.c
cpsw_sl.h
cpsw_switchdev.c net: ti: cpsw: remove guards against !BRIDGE_VLAN_INFO_BRENTRY 2022-02-17 14:17:10 +00:00
cpsw_switchdev.h
cpts.c ptp: cpts: convert .adjfreq to .adjfine 2022-11-11 10:58:39 +00:00
cpts.h
davinci_cpdma.c
davinci_cpdma.h
davinci_emac.c net: ethernet: ti: Convert to platform remove callback returning void 2023-09-20 09:06:41 +01:00
davinci_mdio.c net: ethernet: ti: Convert to platform remove callback returning void 2023-09-20 09:06:41 +01:00
k3-cppi-desc-pool.c
k3-cppi-desc-pool.h
netcp.h net: ethernet: ti: Remove unused declarations 2023-08-22 10:33:21 -07:00
netcp_core.c net: ethernet: ti: Convert to platform remove callback returning void 2023-09-20 09:06:41 +01:00
netcp_ethss.c net: Use of_property_read_bool() for boolean properties 2023-03-16 17:41:28 +00:00
netcp_sgmii.c
netcp_xgbepcsr.c
tlan.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
tlan.h