On Tue, May 28, 2019 at 07:01:38PM +0200, Rafael J. Wysocki wrote: > On Tue, May 28, 2019 at 5:43 PM Charles Keepax > <ckeepax@xxxxxxxxxxxxxxxxxxxxx> wrote: > > > > It is fairly common to want to read an integer array property > > that is composed of an unknown number of fixed size integer > > groups. For example, say each group consists of three values > > which correspond to the settings for one input on the device > > and the driver supports several chips with different numbers > > of inputs. > > > > Add a new helper function to provide this functionality, it > > differs for the existing helpers in that it allows reading a > > smaller number of values than the full array size and checks > > that the number of values read is a multiple of the group size. > > As a rule, you need also CC all of the device property framework > changes to linux-acpi@xxxxxxxxxxxxxxx, so please resend the series > with that taken into account. > Sorry will resend with them included. Thanks, Charles