Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp643366ybz; Wed, 15 Apr 2020 15:48:39 -0700 (PDT) X-Google-Smtp-Source: APiQypL7tmbqn/9GAulp+HAZRaRcniEHmq+Y5dF4RdHF/yldOsDoIgQDNlbMU26bP5tV+j1xJfuK X-Received: by 2002:a05:6402:1437:: with SMTP id c23mr27443554edx.327.1586990919180; Wed, 15 Apr 2020 15:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586990919; cv=none; d=google.com; s=arc-20160816; b=kTK9g+pMcZF9H4iJ4OWbb99Z3RTRTBmmwo8JMVZXcZINVbROoYdIf8tD9/4AqIU3HQ VfvdFiRy71QubcAi3aa9sKn1kOHTmheXUqtgDIuLxn/PD6cLidt2yb9tbLGc2aUAn+bD Cj49irO2V+Nl5COzy63+IWNejYYT4/ofyMc6iQXnvOcg51bCKTI5u4XUPXCHPKRplXBR IC50yP9diNASzth5OBPJGefTtCzdksumqSCnSuWbqiBNWaF3G8w7r5lpHBlinZ3a2iGI qXYB9uqzxUmPwrLtjXmvlBpfl50R88QICKx0hRIzVz7qFLzUKiNC+g7E+Ebm3xHTeQul 0xag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=25hsR70J4xkR7QjWib9TX4C/RIJl6X5HgsLKdDMfcIM=; b=nYail7OQ1iUc0N05cUBW9YgED2pGeR/m5hPJQuLknpBfKFhyXiPdQrZKph3JAhLLoL gh6ef23Ffr4KGRcVsORAFVjmbWAy7t7O85O8608pYw9K4FFM4uCMWjqj4i/RE8yhb3H+ fRq3X6GM8CcPBqLZM9meIAf7pQYOmG2dGFtwuKCQtvtxv4KON9BSTX3xDklqtFQ8Vkb8 nFH/zXSTiGII+tXrgim1JNq7UTcZl+l+TytuzmyAv4BFVIUxQvK8IJ+tnKWA0bFbX3DH JAqX4m5t8KyErXQfPJYMTuE/8kmyR9b6viLJ1HITSgqdmlTqcuCv4InxoN7jpWDPDvWP FWng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MZISFk0+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j2si10281332ejs.138.2020.04.15.15.48.15; Wed, 15 Apr 2020 15:48:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MZISFk0+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2895455AbgDOJYc (ORCPT + 99 others); Wed, 15 Apr 2020 05:24:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2895392AbgDOJYT (ORCPT ); Wed, 15 Apr 2020 05:24:19 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46324C061A0F for ; Wed, 15 Apr 2020 02:24:19 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id x25so16560554wmc.0 for ; Wed, 15 Apr 2020 02:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=25hsR70J4xkR7QjWib9TX4C/RIJl6X5HgsLKdDMfcIM=; b=MZISFk0+SGdYrIGleUjYyNyFlKlBZtpvcsFKyJMVxKBrgMGYtPYkcBrS4bRdkEp/7t IW0OdNkkEzJjOHq32c8nyyFfVBOA0CWrvJjsIloNh7+9VO5CUroLlbNB3EdfC+VubzHW RKiPdet4ElIC56WiuMenvtixe2coFc0mPjdD569+2OT9S+0GbYhuHmAMDdAJ2/wquaHH afuwBSmcYlb9MymeQAxl6jMcXisGmnphb0nXiXzgHpPoKvx7ynmkS1jh5aDHDA3xUcag t1mwgvkRTAPwn/Ml63NOIpJfKAurHTPzOMenfettsfMf8meyF+86UE6hMxa9KMhNgPe7 /dqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=25hsR70J4xkR7QjWib9TX4C/RIJl6X5HgsLKdDMfcIM=; b=YiAZF7zPxAH9hlDXKURqJY+OQaMAB3Crje/X9iuy9mTw/hU1BTLfcEmnnnvWsXkxhj wRLCIQQl9ZQ4xwCmTjNh3SBjlDgJynl55qlf2KUpL4V04ILl0vj1hm9ZRc+yIcu6RWqP +9chlSsx22B6pKTBNvr6KOrPbpe54prcbe+59Pl1GLN69iUyheY81l8r+VroPG5uV4gR LvbG8BYgFfEYVsGlJB3liNXcsK5uFfufje1xmVjALTWaQGaj30f/BEzk08eOmwrbAOqt x+W6Q4i+oF4kMLN8XMQHi19uedLUOyMTTD07OdETgcFe65S8U19z0/EnazWtxpvXHcwc dQIQ== X-Gm-Message-State: AGi0PubHHC9v/za6JEZCKVKl/58ATBWnbvRO/8VvLF4PX0SejfUp8rkm QRlqh2uZEYlWK3tcvc62yUG7RA== X-Received: by 2002:a7b:c10d:: with SMTP id w13mr4131241wmi.78.1586942657950; Wed, 15 Apr 2020 02:24:17 -0700 (PDT) Received: from dell ([95.149.164.124]) by smtp.gmail.com with ESMTPSA id e1sm12258399wrc.12.2020.04.15.02.24.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2020 02:24:17 -0700 (PDT) Date: Wed, 15 Apr 2020 10:25:17 +0100 From: Lee Jones To: Geert Uytterhoeven Cc: Linus Walleij , Bartosz Golaszewski , Jonathan Corbet , Harish Jenny K N , Eugeniu Rosca , Alexander Graf , Peter Maydell , Paolo Bonzini , Phil Reid , Marc Zyngier , Christoffer Dall , Magnus Damm , Rob Herring , Mark Rutland , linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, qemu-devel@nongnu.org Subject: Re: [PATCH v6 3/8] mfd: sm501: Use GPIO_LOOKUP_IDX() helper macro Message-ID: <20200415092517.GF2167633@dell> References: <20200324135328.5796-1-geert+renesas@glider.be> <20200324135653.6676-1-geert+renesas@glider.be> <20200324135653.6676-3-geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200324135653.6676-3-geert+renesas@glider.be> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Mar 2020, Geert Uytterhoeven wrote: > i801_add_mux() fills in the GPIO lookup table by manually populating an > array of gpiod_lookup structures. Use the existing GPIO_LOOKUP_IDX() > helper macro instead, to relax a dependency on the gpiod_lookup > structure's member names. > > Signed-off-by: Geert Uytterhoeven > Cc: Lee Jones > --- > While this patch is a dependency for "[PATCH v6 4/8] gpiolib: Add > support for GPIO lookup by line name", it can be applied independently. > But an Acked-by would be nice, too. > > Cover letter and full series at > https://lore.kernel.org/r/20200324135328.5796-1-geert+renesas@glider.be/ > > v6: > - New. > --- > drivers/mfd/sm501.c | 24 ++++++++---------------- > 1 file changed, 8 insertions(+), 16 deletions(-) Acked-by: Lee Jones -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog