hello, On Sun, Jun 12, 2022 at 11:34:00PM +0200, Uwe Kleine-König wrote: > Returning an error code (here -EBUSY) from a remove callback doesn't > prevent the driver from being unloaded. The only effect is that an error > message is emitted and the driver is removed anyhow. > > So instead drop the remove function (which is equivalent to returning zero) > and set the suppress_bind_attrs property to make it impossible to unload > the driver via sysfs. > > This is a preparation for making platform remove callbacks return void. > > Signed-off-by: Uwe Kleine-König <u.kleine-koe...@pengutronix.de>
This patch recived a (positive) review, but it's not included in next nor got it any maintainer feedback. Did it fell through the cracks? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
signature.asc
Description: PGP signature