net: Switch back to struct platform_driver::remove()After commit 0edb555a65d1 ("platform: Make platform_driver::remove()return void") .remove() is (again) the right callback to implement forplatf
net: Switch back to struct platform_driver::remove()After commit 0edb555a65d1 ("platform: Make platform_driver::remove()return void") .remove() is (again) the right callback to implement forplatform drivers.Convert all platform drivers below drivers/net after the previousconversion commits apart from the wireless drivers to use .remove(),with the eventual goal to drop struct platform_driver::remove_new(). As.remove() and .remove_new() have the same prototypes, conversion is doneby just changing the structure member name in the driver initializer.Signed-off-by: Uwe Kleine-König <[email protected]>Reviewed-by: Andrew Lunn <[email protected]>Reviewed-by: Sergey Ryazanov <[email protected]>Acked-by: Stefan Schmidt <[email protected]>Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
net: wan: framer/pef2256: Convert to platform remove callback returning voidThe .remove() callback for a platform driver returns an int which makesmany driver authors wrongly assume it's possible
net: wan: framer/pef2256: Convert to platform remove callback returning voidThe .remove() callback for a platform driver returns an int which makesmany driver authors wrongly assume it's possible to do error handling byreturning an error code. However the value returned is ignored (apartfrom emitting a warning) and this typically results in resource leaks.To improve here there is a quest to make the remove callback returnvoid. In the first step of this quest all drivers are converted to.remove_new(), which already returns void. Eventually after all driversare converted, .remove_new() will be renamed to .remove().Trivially convert this driver from always returning zero in the removecallback to the void returning variant.Signed-off-by: Uwe Kleine-König <[email protected]>Acked-by: Herve Codina <[email protected]>Link: https://lore.kernel.org/r/9684419fd714cc489a3ef36d838d3717bb6aec6d.1709886922.git.u.kleine-koenig@pengutronix.deSigned-off-by: Jakub Kicinski <[email protected]>
net: wan: framer: Add support for the Lantiq PEF2256 framerThe Lantiq PEF2256 is a framer and line interface component designed tofulfill all required interfacing between an analog E1/T1/J1 line a
net: wan: framer: Add support for the Lantiq PEF2256 framerThe Lantiq PEF2256 is a framer and line interface component designed tofulfill all required interfacing between an analog E1/T1/J1 line and thedigital PCM system highway/H.100 bus.Signed-off-by: Herve Codina <[email protected]>Reviewed-by: Christophe Leroy <[email protected]>Reviewed-by: Linus Walleij <[email protected]>Acked-by: Jakub Kicinski <[email protected]>Link: https://lore.kernel.org/r/[email protected]Signed-off-by: Linus Walleij <[email protected]>