Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757748Ab3JQRCb (ORCPT ); Thu, 17 Oct 2013 13:02:31 -0400 Received: from mga14.intel.com ([143.182.124.37]:38993 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756803Ab3JQRCa (ORCPT ); Thu, 17 Oct 2013 13:02:30 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.93,515,1378882800"; d="scan'208";a="309174880" Message-ID: <5260191E.4060603@linux.intel.com> Date: Thu, 17 Oct 2013 10:06:38 -0700 From: David Cohen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130929 Icedove/17.0.9 MIME-Version: 1.0 To: Andy Shevchenko CC: linux-kernel@vger.kernel.org, sfi-devel@simplefirmware.org, linux-gpio@vger.kernel.org, Kuppuswamy Sathyanarayanan , Linus Walleij , Len Brown Subject: Re: [PATCH] gpiolib: append SFI helpers for GPIO API References: <1381979015-28980-1-git-send-email-david.a.cohen@linux.intel.com> <1382013695.29062.141.camel@smile> In-Reply-To: <1382013695.29062.141.camel@smile> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1136 Lines: 40 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_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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/