Re: [PATCH 2/6] gpio / ACPI: Allocate ACPI specific data directly in acpi_gpiochip_add()

2014-02-26 Thread Mika Westerberg
On Tue, Feb 25, 2014 at 03:21:55PM +0100, Rafael J. Wysocki wrote: > On Monday, February 24, 2014 06:00:07 PM Mika Westerberg wrote: > > We are going to add more ACPI specific data to accompany GPIO chip so > > instead of allocating it per each use-case we allocate it once when > > acpi_gpiochip_ad

Re: [PATCH 2/6] gpio / ACPI: Allocate ACPI specific data directly in acpi_gpiochip_add()

2014-02-25 Thread Rafael J. Wysocki
On Monday, February 24, 2014 06:00:07 PM Mika Westerberg wrote: > We are going to add more ACPI specific data to accompany GPIO chip so > instead of allocating it per each use-case we allocate it once when > acpi_gpiochip_add() is called and release it when acpi_gpiochip_remove() is > called. > >

[PATCH 2/6] gpio / ACPI: Allocate ACPI specific data directly in acpi_gpiochip_add()

2014-02-24 Thread Mika Westerberg
We are going to add more ACPI specific data to accompany GPIO chip so instead of allocating it per each use-case we allocate it once when acpi_gpiochip_add() is called and release it when acpi_gpiochip_remove() is called. Doing this allows us to add more ACPI specific data by merely adding new fie