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

From: David Cohen
Date: Thu Oct 17 2013 - 13:02:34 EST


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 <andriy.shevchenko@xxxxxxxxxxxxxxx>

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;
+ int i;
+
+ if (!pentry)
+ return -1;

^^^^ It seems an old version.

New version was published while ago and even has an ACK from Linus:

http://www.spinics.net/lists/kernel/msg1545960.html

Interesting :)
I got this patch cooking in our internal tree for quite some time.
Didn't realize about the new version. I'm waiting it to be merged to
send an Intel Mid patch that depends on that.

Please, ignore this version and consider the one pointed out by Andy.

Br, David Cohen




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/