Re: [PATCH 3/4] drm: bridge: simple-bridge: use only devm* in probe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/06/2024 00:28, Dmitry Baryshkov wrote:

> On Mon, Jun 17, 2024 at 06:03:01PM GMT, Marc Gonzalez wrote:
>
>> Once probe uses only devm functions, remove() becomes unnecessary.
> 
> Breves vibrantesque sententiae
> 
> With the hope of getting an expanded commit message:
> 
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

I'm not quite sure what else to say.

Using only devm* functions in probe, the remove() callback is
no longer needed, since devm unwind will free all resources.

Is that better?

NB: this patch is not *required* but I thought "might as well
change it while I'm in the code".

Regards




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux