[PATCH v2 2/4] pwm: sun50i: Add H616 PWM support

Richard GENOUD richard.genoud at bootlin.com
Tue Jan 13 00:41:58 PST 2026


Hi Uwe,
>>>> +	for (unsigned int i = 0; i < data->npwm; i++) {
>>>
>>> Huh, AFAIK we're not using declarations in for loops in the kernel.
>>
>> Actually, I've read somewhere (in LWN I guess) that Linus seems ok with that,
>> but I'll remove it if you prefer.
> 
> If you find your source again, I'd be interested.
I took me some time, but I finally found it (thanks to Hervé):
https://lore.kernel.org/all/CAHk-=wiCOTW5UftUrAnvJkr6769D29tF7Of79gUjdQHS_TkF5A@mail.gmail.com/


> 
> Best regards
> Uwe

Regards,
Richard



More information about the linux-arm-kernel mailing list