# Re: \[PATCH v2 04/18\] cpufreq: brcmstb-avs-cpufreq: Use \_\_free(put\_cpufreq\_policy) for policy reference

- From: Zihuan Zhang \<hidden\>
- Date: 2025-08-29 06:32:30 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2025/08/3191859
- Thread: https://ratatoskr.run/linux-pm/2025/08/3188306/t.md

```text

在 2025/8/29 14:26, Viresh Kumar 写道:
> On 29-08-25, 14:16, Zihuan Zhang wrote:
>> Thanks for applying the patch!
>>
>> I’ve been thinking further — instead of using __free directly, maybe we
>> could introduce a small macro wrapper around it to make the release scope
>> more controllable and consistent.
>>
>> Link:
>> https://lore.kernel.org/all/6174bcc8-30f5-479b-bac6-f42eb1232b4d@kylinos.cn/
>>
>> Do you think this would be a better approach, or should we just stick with
>> the current use of __free?
> Lets keep it simple for now and use __free directly. And keep this
> similar with other parts of the kernel.


Got it. Thanks!


```
