Re: [PATCH] powerpc/52xx: Mark gpt driver as not removable

2022-07-29 Thread Michael Ellerman
On Sun, 12 Jun 2022 23:34:00 +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 functi

Re: [PATCH] powerpc/52xx: Mark gpt driver as not removable

2022-07-14 Thread Uwe Kleine-König
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

Re: [PATCH] powerpc/52xx: Mark gpt driver as not removable

2022-07-07 Thread Christophe Leroy
Le 12/06/2022 à 23:34, Uwe Kleine-König a écrit : > 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 (whic

[PATCH] powerpc/52xx: Mark gpt driver as not removable

2022-06-12 Thread Uwe Kleine-König
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_a