On Thursday 05 March 2015 09:55:09 Linus Walleij wrote: > On Wed, Feb 11, 2015 at 5:27 PM, Rojhalat Ibrahim <imr@xxxxxxxxxxx> wrote: > > > Introduce new functions for conveniently obtaining and disposing of an entire > > array of GPIOs with one function call. > > > > Suggested-by: Alexandre Courbot <acourbot@xxxxxxxxxx> > > Signed-off-by: Rojhalat Ibrahim <imr@xxxxxxxxxxx> > > Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx> > > > > ACPI part: > > Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> > > Tested-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> > > > > DT part: > > Tested-by: Rojhalat Ibrahim <imr@xxxxxxxxxxx> > > --- > > Change log: > > v5: move the ACPI functions to gpiolib-acpi.c > > v4: - use shorter names for members of struct gpio_descs > > - rename lut_gpio_count to platform_gpio_count for clarity > > - add check for successful memory allocation > > - use ERR_CAST() > > v3: - rebase on current linux-gpio devel branch > > - fix ACPI GPIO counting > > - allow for zero-sized arrays > > - make the flags argument mandatory for the new functions > > - clarify documentation > > v2: change interface > > Patch applied with some fuzzing, check that it ended up correctly > in my git (or linux-next). > Looks good to me. Thanks. Rojhalat -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html