Re: [PATCH v3] of: remove internal arguments from of_property_for_each_u32()

2024-07-25 Thread Lee Jones
On Wed, 24 Jul 2024, Luca Ceresoli wrote: > The of_property_for_each_u32() macro needs five parameters, two of which > are primarily meant as internal variables for the macro itself (in the > for() clause). Yet these two parameters are used by a few drivers, and this > can be considered misuse or

[PATCH v3] of: remove internal arguments from of_property_for_each_u32()

2024-07-24 Thread Luca Ceresoli
The of_property_for_each_u32() macro needs five parameters, two of which are primarily meant as internal variables for the macro itself (in the for() clause). Yet these two parameters are used by a few drivers, and this can be considered misuse or at least bad practice. Now that the kernel uses C1