6 Jul
2022
6 Jul
'22
9:42 a.m.
Hi Uwe
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 !!
Best regards --- Kuninori Morimoto