On Wed, 2013-10-16 at 20:03 -0700, David Cohen wrote: > From: Andy Shevchenko <andriy.shevche...@linux.intel.com> > > 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 -- Andy Shevchenko <andriy.shevche...@linux.intel.com> Intel Finland Oy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/