Re: [PATCH] powerpc/52xx: Mark gpt driver as not removable
From: Uwe Kleine-König <hidden>
Date: 2022-07-14 21:38:20
Attachments
- signature.asc [application/pgp-signature] 488 bytes
From: Uwe Kleine-König <hidden>
Date: 2022-07-14 21:38:20
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 <redacted>
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/ |