Re: [PATCH v2] gpiolib: Export gpiochip_request_own_desc and gpiochip_free_own_desc

2014-07-22 Thread Mika Westerberg
On Mon, Jul 21, 2014 at 11:53:27PM -0700, Guenter Roeck wrote: > On 07/21/2014 11:43 PM, Mika Westerberg wrote: > >On Mon, Jul 21, 2014 at 10:18:25PM -0700, Guenter Roeck wrote: > >>Both functions were introduced to let gpio drivers request their own > >>gpio pins. Without exporting the functions,

Re: [PATCH v2] gpiolib: Export gpiochip_request_own_desc and gpiochip_free_own_desc

2014-07-21 Thread Guenter Roeck
On 07/21/2014 11:43 PM, Mika Westerberg wrote: On Mon, Jul 21, 2014 at 10:18:25PM -0700, Guenter Roeck wrote: Both functions were introduced to let gpio drivers request their own gpio pins. Without exporting the functions, this can however only be used by gpio drivers built into the kernel. Th

Re: [PATCH v2] gpiolib: Export gpiochip_request_own_desc and gpiochip_free_own_desc

2014-07-21 Thread Alexandre Courbot
On Tue, Jul 22, 2014 at 3:43 PM, Mika Westerberg wrote: > On Mon, Jul 21, 2014 at 10:18:25PM -0700, Guenter Roeck wrote: >> Both functions were introduced to let gpio drivers request their own >> gpio pins. Without exporting the functions, this can however only be >> used by gpio drivers built int

Re: [PATCH v2] gpiolib: Export gpiochip_request_own_desc and gpiochip_free_own_desc

2014-07-21 Thread Mika Westerberg
On Mon, Jul 21, 2014 at 10:18:25PM -0700, Guenter Roeck wrote: > Both functions were introduced to let gpio drivers request their own > gpio pins. Without exporting the functions, this can however only be > used by gpio drivers built into the kernel. The reason why these are private to drivers is

[PATCH v2] gpiolib: Export gpiochip_request_own_desc and gpiochip_free_own_desc

2014-07-21 Thread Guenter Roeck
Both functions were introduced to let gpio drivers request their own gpio pins. Without exporting the functions, this can however only be used by gpio drivers built into the kernel. Secondary impact is that the functions can not currently be used by platform initialization code associated with the