Re: [PATCH] gpiolib: append SFI helpers for GPIO API

2013-11-13 Thread David Cohen
On 11/13/2013 04:16 AM, Andy Shevchenko wrote: On Tue, 2013-11-12 at 19:55 +0100, Linus Walleij wrote: On Thu, Oct 17, 2013 at 2:41 PM, Andy Shevchenko wrote: On Wed, 2013-10-16 at 20:03 -0700, David Cohen wrote: From: Andy Shevchenko To support some (legacy) firmwares and platforms let's m

Re: [PATCH] gpiolib: append SFI helpers for GPIO API

2013-11-13 Thread Andy Shevchenko
On Tue, 2013-11-12 at 19:55 +0100, Linus Walleij wrote: > On Thu, Oct 17, 2013 at 2:41 PM, Andy Shevchenko > wrote: > > On Wed, 2013-10-16 at 20:03 -0700, David Cohen wrote: > >> From: Andy Shevchenko > >> > >> To support some (legacy) firmwares and platforms let's make life easier for > >> their

Re: [PATCH] gpiolib: append SFI helpers for GPIO API

2013-11-12 Thread Linus Walleij
On Thu, Oct 17, 2013 at 2:41 PM, Andy Shevchenko wrote: > On Wed, 2013-10-16 at 20:03 -0700, David Cohen wrote: >> From: Andy Shevchenko >> >> To support some (legacy) firmwares and platforms let's make life easier for >> their customers. > >> +int sfi_get_gpio_by_name(const char *name) >> +{ >>

Re: [PATCH] gpiolib: append SFI helpers for GPIO API

2013-10-17 Thread David Cohen
On 10/17/2013 05:41 AM, Andy Shevchenko wrote: On Wed, 2013-10-16 at 20:03 -0700, David Cohen wrote: From: Andy Shevchenko To support some (legacy) firmwares and platforms let's make life easier for their customers. +int sfi_get_gpio_by_name(const char *name) +{ + struct sfi_gpio_ta

Re: [PATCH] gpiolib: append SFI helpers for GPIO API

2013-10-17 Thread Andy Shevchenko
On Wed, 2013-10-16 at 20:03 -0700, David Cohen wrote: > From: Andy Shevchenko > > To support some (legacy) firmwares and platforms let's make life easier for > their customers. > > +int sfi_get_gpio_by_name(const char *name) > +{ > + struct sfi_gpio_table_entry *pentry = sfi_gpio_table; >

[PATCH] gpiolib: append SFI helpers for GPIO API

2013-10-16 Thread David Cohen
From: Andy Shevchenko To support some (legacy) firmwares and platforms let's make life easier for their customers. Signed-off-by: Andy Shevchenko Cc: Kuppuswamy Sathyanarayanan Cc: David Cohen Cc: Linus Walleij Cc: Len Brown --- drivers/gpio/Kconfig | 4 +++ drivers/gpio/Makefile