Re: [PATCH] gpio / ACPI: Add label to the gpio request

2015-06-13 Thread Tobias Diedrich
Mika Westerberg wrote: > On Thu, Jun 11, 2015 at 02:08:22AM +0200, Tobias Diedrich wrote: > > In create_gpio_led only the legacy pass propagates the label by passing it > > into > > devm_gpio_request_one. > > > > On the newer devicetree/acpi path the label is lost as far as the GPIO > > subsystem

Re: [PATCH] gpio / ACPI: Add label to the gpio request

2015-06-12 Thread Mika Westerberg
On Thu, Jun 11, 2015 at 02:08:22AM +0200, Tobias Diedrich wrote: > In create_gpio_led only the legacy pass propagates the label by passing it > into > devm_gpio_request_one. > > On the newer devicetree/acpi path the label is lost as far as the GPIO > subsystem goes (it is only retained as name in

[PATCH] gpio / ACPI: Add label to the gpio request

2015-06-10 Thread Tobias Diedrich
In create_gpio_led only the legacy pass propagates the label by passing it into devm_gpio_request_one. On the newer devicetree/acpi path the label is lost as far as the GPIO subsystem goes (it is only retained as name in struct gpio_led. Amend devm_get_gpiod_from_child to also pass the label into