Re: [PATCH] drm/bridge: imx8mp-hdmi-tx: Convert to platform remove callback returning void

2024-04-10 Thread Uwe Kleine-König
Hello Rob, On Wed, Apr 10, 2024 at 03:40:30PM +0200, Robert Foss wrote: > On Mon, 4 Mar 2024 10:10:06 +0100, 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 > >

Re: [PATCH] drm/bridge: imx8mp-hdmi-tx: Convert to platform remove callback returning void

2024-04-10 Thread Robert Foss
On Mon, 4 Mar 2024 10:10:06 +0100, 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 ignored (apart > from emitting a

[PATCH] drm/bridge: imx8mp-hdmi-tx: Convert to platform remove callback returning void

2024-03-04 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 ignored (apart from emitting a warning) and this typically results in resource leaks. To improve