Re: [Freedreno] [PATCH 31/53] drm/msm: Convert to platform remove callback returning void

2023-05-20 Thread Dmitry Baryshkov
On 07/05/2023 19:25, Uwe Kleine-König wrote: The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is (mostly) ignored and this typically results in resou

[Freedreno] [PATCH 31/53] drm/msm: Convert to platform remove callback returning void

2023-05-07 Thread Uwe Kleine-König
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is (mostly) ignored and this typically results in resource leaks. To improve here there is a quest to