linux/drivers/net/mdio
Uwe Kleine-König b9ac5c4243 net: mdio: ipq4019: 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 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: David S. Miller <davem@davemloft.net>
2023-09-20 10:29:34 +01:00
..
acpi_mdio.c net: mdio: fix owner field for mdio buses registered using ACPI 2023-03-19 10:48:35 +00:00
fwnode_mdio.c net: mdiobus: Convert to use fwnode_device_is_compatible() 2023-01-23 14:37:13 +00:00
Kconfig net: mdio: Introduce a regmap-based mdio driver 2023-06-05 09:56:36 +01:00
Makefile net: mdio: Introduce a regmap-based mdio driver 2023-06-05 09:56:36 +01:00
mdio-aspeed.c net: mdio: aspeed: Convert to platform remove callback returning void 2023-09-20 10:29:33 +01:00
mdio-bcm-iproc.c net: mdio: bcm-iproc: Convert to platform remove callback returning void 2023-09-20 10:29:33 +01:00
mdio-bcm-unimac.c net: mdio: bcm-unimac: Convert to platform remove callback returning void 2023-09-20 10:29:33 +01:00
mdio-bitbang.c net: mdio: mdio-bitbang: Fix C45 read/write protocol 2023-08-19 12:41:33 +01:00
mdio-cavium.c net: mdio: cavium: Remove unneeded simicolons 2023-01-17 13:19:05 +01:00
mdio-cavium.h net: mdio: cavium: Separate C22 and C45 transactions 2023-01-13 21:40:53 -08:00
mdio-gpio.c net: mdio: gpio: Convert to platform remove callback returning void 2023-09-20 10:29:33 +01:00
mdio-hisi-femac.c net: mdio: hisi-femac: Convert to platform remove callback returning void 2023-09-20 10:29:33 +01:00
mdio-i2c.c net: mdio: i2c: fix rollball accessors 2023-05-15 10:15:57 +01:00
mdio-ipq4019.c net: mdio: ipq4019: Convert to platform remove callback returning void 2023-09-20 10:29:34 +01:00
mdio-ipq8064.c net: Remove C45 check in C22 only MDIO bus drivers 2023-01-20 18:12:45 -08:00
mdio-moxart.c net: phy: rename PHY_IGNORE_INTERRUPT to PHY_MAC_INTERRUPT 2021-02-15 15:20:49 -08:00
mdio-mscc-miim.c net: dsa: seville: ignore mscc-miim read errors from Lynx PCS 2023-02-26 18:31:37 +00:00
mdio-mux-bcm-iproc.c net: mdio: mux-bcm-iproc: Separate C22 and C45 transactions 2023-01-13 21:40:54 -08:00
mdio-mux-bcm6368.c net: mdio: Fix ENOMEM return value in BCM6368 mux bus controller 2022-04-29 17:58:41 -07:00
mdio-mux-gpio.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-mux-meson-g12a.c net: mdio: mux-meson-g12a: use __clk_is_enabled to simplify the code 2023-01-30 07:17:30 +00:00
mdio-mux-meson-gxl.c net: mdio: add amlogic gxl mdio mux support 2023-01-31 20:59:07 -08:00
mdio-mux-mmioreg.c mdio: mdio-mux-mmioreg: Use of_property_read_reg() to parse "reg" 2023-06-12 10:56:01 +01:00
mdio-mux-multiplexer.c net: mdio: mux-multiplexer: Switch to use dev_err_probe() helper 2022-09-20 08:41:20 -07:00
mdio-mux.c net: mdio-mux: add bus name to bus id 2022-03-08 10:28:25 +01:00
mdio-mvusb.c net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe() 2023-05-07 14:59:02 +01:00
mdio-octeon.c net: mdio: cavium: Separate C22 and C45 transactions 2023-01-13 21:40:53 -08:00
mdio-regmap.c net: mdio: Introduce a regmap-based mdio driver 2023-06-05 09:56:36 +01:00
mdio-sun4i.c
mdio-thunder.c net: mdio: thunder: Add missing fwnode_handle_put() 2023-03-23 08:46:55 +00:00
mdio-xgene.c net: mdio: xgene: remove useless xgene_mdio_status 2023-08-19 19:25:27 +01:00
of_mdio.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-24 10:10:20 -07:00