lkml.org 
[lkml]   [2022]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] rtc: mpfs: Use devm_clk_get_enabled() helper
From
Le 24/08/2022 à 14:28, Alexandre Belloni a écrit :
>
> BTW, I thought you actually tested your changes on the other patch I
> took, not that you were doing a blanket conversion of the subsystem.
> This is the kind of info that must appear in the commit log. I would
> definitively not have taken the patch.
>

Ok, noted for future contribution.


In fact I first sent only one patch to see if it got some interest for
such transformation.
I only sent some other after your Ack.


Nothing is never trivial, but such patches looks fine to me.
It saves some LoC, reduce the size of the .o and slightly saves some
runtime memory.

And unless, I missed something, the order of operation remains the same,
both when resources are allocated and freed.


Why wouldn't you have taken such a patch?
(just for my understanding and in order to avoid spamming others with
useless/risky stuff)

CJ

\
 
 \ /
  Last update: 2022-08-24 15:27    [W:0.090 / U:1.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site