6 Jul
2022
6 Jul
'22
5:32 p.m.
Hello,
On Wed, Jul 06, 2022 at 06:42:49AM +0000, Kuninori Morimoto wrote:
The motivation of my patch is to make the remove function return 0 and the eventual goal is to make the remove callback return void. The difference today between returning 0 and returning an error is only that the core emits an error message in the error case. In both cases the device is removed. See drivers/base/platform.c:platform_remove().
Ah, OK. Because of "remove" funciton. Sorry, I was misunderstanding about it.
Thank you for your help !!
Is this an ack now? :-)
Best regards Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |