[PATCH 3/3] drm/mipi-dsi: Make remove callback return void

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Sat Jul 9 16:28:59 UTC 2022


Hello Sam,

On Sat, Jul 09, 2022 at 10:50:55AM +0200, Sam Ravnborg wrote:
> On Fri, Jul 08, 2022 at 11:49:22AM +0200, Uwe Kleine-König wrote:
> > All implementations return 0 and the return value of mipi_dsi_drv_remove()
> > is ignored anyhow.
> > 
> > So change the prototype of the remove function to return no value. This
> > way driver authors are not tempted to assume that passing an error to
> > the upper layer is a good idea. All drivers are adapted accordingly.
> > There is no intended change of behaviour.
> > 
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> 
> Reviewed and applied to drm-misc (drm-misc-next).
> While applying updating panel-ebbg-ft8719

Good catch, at one time during creation of this series I intended to
check next and hint about such requirements. Great you noticed that on
your own, thanks!

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20220709/c970af46/attachment.sig>


More information about the dri-devel mailing list