Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2919145ybb; Fri, 27 Mar 2020 14:40:25 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvzvwjsLtpym1pEwTRiRLZoxcQE6oTrbcsu0zjXOkFw2gdXaluUoWDgSqye269r9/yLahuD X-Received: by 2002:a05:6830:1e10:: with SMTP id s16mr621482otr.33.1585345225815; Fri, 27 Mar 2020 14:40:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585345225; cv=none; d=google.com; s=arc-20160816; b=ghNZyV43MxNBY46zjKgwWTddmMHNedWjVa07Epl0zn3xy+U+KDr0m72H8f0OG892Yj RR9+f5WVOTfMWwSwUO8u5DdEc394hnzqGsDUBfEhc+X80FLr4Jj9IdRdHokMzKsVwR4T CbH+hPyPZDvJkvTVgJMko9I9TmYmBrTWK6olIFyIcMIyHEH30IufMwhXWVKlLUgUUvW6 F4uJc9wPZyU8+JK/Z5Fyu2aa377q0uWs0bqHRioZvM5dIsXrIgHnlR3yeUlXPvY5Jry9 +byVSnDc8Kdod8k+onZ2JJosgPAxI2h62ctT+l+pxzM6NUfd6HhGDKJ7iVKKU1dt8mq+ AmIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Je8mtxcs84zdxjm91ykSFMqUo8LaITxZQqe+nRBzKN0=; b=n8BOwMAF+4fvTXUZgROVfayDv1dwsg8idJkDHtWMhB0nv+RNsXTPhlTjkIRKjOUu5O pwsODJ7zx0NWAoPlSGUhLvaxe8CLfUzi/SIaNHf1sse5oOhWqiyye6iQk9qdA7gcjoHs sluBvCezrvajD+RsTkZ0XcVxAg9PAswyzcZNTkf5dVMLaCoJXuiQt/5f16+epFARKQh8 p0dERCdI0bCWLi70dL5bBJMon2+TEvi8S4ajml8/tLAuQAzMchcAFfwY07a707xo6UCF lAvD24nk532llU7bQ2D1JrMcK3YHeFg9sc4UdnFcC5VqbByKeQUrMNHf+q1pEWz8iUog tQ1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=p46WdIT7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id m10si2753199ote.6.2020.03.27.14.40.12; Fri, 27 Mar 2020 14:40:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=p46WdIT7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727666AbgC0Vjd (ORCPT + 99 others); Fri, 27 Mar 2020 17:39:33 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:47043 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727548AbgC0Vjd (ORCPT ); Fri, 27 Mar 2020 17:39:33 -0400 Received: by mail-lj1-f193.google.com with SMTP id r7so4116139ljg.13 for ; Fri, 27 Mar 2020 14:39:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Je8mtxcs84zdxjm91ykSFMqUo8LaITxZQqe+nRBzKN0=; b=p46WdIT7WUM+8lq5BljY7Us2B92LkhGlQpWgUmNi8VgndmqisVWKJCpnNJONl8zIjF WnhoiwRRuLKwALzSgg7mxo9263rh1e8DiY5MyaNZfyatrxjYtZoeglDbYGQv0+CS1DOh FPzQV6oLx3Q6AWCVjgrMCq4pI+7KyfI0QJbzrytAV5BJ2IBGM0xgdAGEnaqP+3up0FeW uzmCWroM5Q/jLCyQNvYELjhTtUbI0HYXA7TOn4s4zK0UOFrMfqtFH/PFvwlh/LuU5sLf rnqn0EuBY76FIus/SRwsaTZkj6ijeuWcHJi4RVqSaBXjtZW3fhb6XQexr7oDz25dvwg3 NIlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Je8mtxcs84zdxjm91ykSFMqUo8LaITxZQqe+nRBzKN0=; b=mwjCR1Sfyg22LkGhXxWYLfmyg75Lv4ghAoCJvlfiXMjZB/Jg2cNkOHXW90Jt21Zh0w P2IlrS1vAfoC5T521ySL6CaF+30Yj39Q/G+tDkvMp4W73dEEyRyDcaaQJIs/9mgVJbcZ 0fgYyn5rxDkb2Jg5Uux8cD2dyK9Mx2BRoXT+PzwwGnepxBsfHYYM25vcIl07lYcpi01q 5yom4bU82gGwKmnp4G8PUTiJjIzkcdvCpmTryEG6UxWSb2DzocN/QvtD/dy81y/wYvEn DBzIq2kL67tYw2YXC/Mq9g1QZpMc8wRSqoy/73LQDuW72BMH3IPOHop3UtQ+AeHFO5gz NZjQ== X-Gm-Message-State: AGi0PubCx7XF5vcOKIHCUmVJ3EVDmAyRVgzPLt3qvBvuRc1JCUoXqEuK EEQ8FtvAsDaybHJwp7dByG1B9ntO2aBrbhpzasCfCw== X-Received: by 2002:a2e:9605:: with SMTP id v5mr549394ljh.258.1585345170980; Fri, 27 Mar 2020 14:39:30 -0700 (PDT) MIME-Version: 1.0 References: <20200325100439.14000-1-geert+renesas@glider.be> <20200325100439.14000-2-geert+renesas@glider.be> In-Reply-To: <20200325100439.14000-2-geert+renesas@glider.be> From: Linus Walleij Date: Fri, 27 Mar 2020 22:39:20 +0100 Message-ID: Subject: Re: [PATCH 1/2] gpiolib: Pass gpio_desc to gpio_set_config() To: Geert Uytterhoeven Cc: Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 25, 2020 at 11:04 AM Geert Uytterhoeven wrote: > All callers of gpio_set_config() have to convert a gpio_desc to a > gpio_chip and offset. Avoid these duplicated conversion steps by > letting gpio_set_config() take a gpio_desc pointer directly. > > Signed-off-by: Geert Uytterhoeven Patch applied. Yours, Linus Walleij