Re: [PATCH v2 2/2] siox: Make remove callback return void

2020-11-24 Thread Uwe Kleine-König
On Tue, Nov 24, 2020 at 09:58:45PM +0100, Thorsten Scherer wrote: > Hello, > > On Tue, Nov 24, 2020 at 03:18:34PM +0100, Uwe Kleine-König wrote: > > The driver core ignores the return value of the remove callback, so > > don't give siox drivers the chance to provide a value. > > > > All siox drive

Re: [PATCH v2 2/2] siox: Make remove callback return void

2020-11-24 Thread Thorsten Scherer
Hello, On Tue, Nov 24, 2020 at 03:18:34PM +0100, Uwe Kleine-König wrote: > The driver core ignores the return value of the remove callback, so > don't give siox drivers the chance to provide a value. > > All siox drivers only allocate devm-managed resources in > .probe, so there is no .remove cal

[PATCH v2 2/2] siox: Make remove callback return void

2020-11-24 Thread Uwe Kleine-König
The driver core ignores the return value of the remove callback, so don't give siox drivers the chance to provide a value. All siox drivers only allocate devm-managed resources in .probe, so there is no .remove callback to fix. Signed-off-by: Uwe Kleine-König --- drivers/siox/siox-core.c | 5 ++