On Mon, Jun 12, 2023 at 01:30:54PM +0200, Rasmus Villemoes wrote: > Implement support for using the values given in the > isil,trip-level[87]5-microvolt properties to set appropriate values in > the VB[87]5TP bits in the PWR_VBAT register. ... > + for (x85 = 0; x85 < ARRAY_SIZE(trip_level85) - 1; ++x85) > + if (level85 <= trip_level85[x85]) > + break; > + > + for (x75 = 0; x75 < ARRAY_SIZE(trip_level75) - 1; ++x75) > + if (level75 <= trip_level75[x75]) > + break; Does preincrement give us anything in comparison to postincrement? -- With Best Regards, Andy Shevchenko