Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94DB0C54EAA for ; Fri, 27 Jan 2023 13:36:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234809AbjA0Ng3 (ORCPT ); Fri, 27 Jan 2023 08:36:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233822AbjA0Ng1 (ORCPT ); Fri, 27 Jan 2023 08:36:27 -0500 Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C02416AE2 for ; Fri, 27 Jan 2023 05:36:25 -0800 (PST) Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-50660e2d2ffso67386197b3.1 for ; Fri, 27 Jan 2023 05:36:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=lm/eKWA7nHZbFTBeP8HSFE1ZhC80UbaJbWzWM/DYvEY=; b=BisZtvp+WU+ShLvP3I22aaq18YE/l/TkOw+2mCy4ukjPx6MncMr3F9Daz1CCvviroc iXvzrCfp3Xi7y6KwebzWm/c2OkAk2REum6hp9Z5cRuZOe8WHWSHG62dgDgu2EY0QBjtU gGHj1fHgzErEQ0A59YAzSnD6gjCdGpwr7IAiN0xyfXAwgLDcBS5YZVH7Ln/mjEwRXzGG 0G+7uw3p/BamzKZyP9Jk3FUU4maF5JVmRlFe9qAbVAndg706C5knJw68LFlcaDjSGX2r VW6QCPJ9QpxRGV+P3FyDncclkjGaXfpCfPBk5yqdtpTZrbE8dGHNatviN9MhYlsY+yOE WOcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lm/eKWA7nHZbFTBeP8HSFE1ZhC80UbaJbWzWM/DYvEY=; b=6IFYzF6E5NeMfn11M5WTmP5MAesZipw/k8Ys5qYMRvvQMIhEnmgy2xXWQ1oBeNjURN 08pFG6NeWXeA/ugzOpb+oiVeUd2eeHrqT16OMCgi4kRD869XwjzsJR4ncA/GiQoUabX0 wTe+r20Qz+F/bTi5S8AgmGlgjTLtwJ9xO4Mllr0vhcnWzOdD6aYyEVH259j3QaV9WTSI m01gBvn/+4Rf9jKe2hoDFS2QdKtPlnKNaHcboHQVwVfJ3U4mUiFioYrCZptmfKf6oJL9 Ju8IK+ev3Xl8EmstCoVm6uxV9lIAAA+GAv7BTyJ4bq3132j+ZFtmtyaWI92mkCb8ff+X mTMg== X-Gm-Message-State: AFqh2kr3aw7rqbR2vVXAwDCka0BLS98QseYTb2yiKbWspN8fFRbM3wEu 7zqvQB3EliovXmX/UrGVL/6SFmcW8MotKGUveou8qA== X-Google-Smtp-Source: AMrXdXsvsMo+RSYvpOF8LTfpgwn21rd/yE1KiL3zhHjBbnv+ngzGNNuYOcljzya2rYscdB+tNAcQ8WeslCISgqryo9I= X-Received: by 2002:a81:6842:0:b0:4ff:e4bc:b56f with SMTP id d63-20020a816842000000b004ffe4bcb56fmr3635887ywc.488.1674826584821; Fri, 27 Jan 2023 05:36:24 -0800 (PST) MIME-Version: 1.0 References: <20230127101149.3475929-1-arnd@kernel.org> <20230127101149.3475929-6-arnd@kernel.org> In-Reply-To: <20230127101149.3475929-6-arnd@kernel.org> From: Linus Walleij Date: Fri, 27 Jan 2023 14:36:13 +0100 Message-ID: Subject: Re: [PATCH v2 5/7] gpiolib: remove legacy gpio_export To: Arnd Bergmann Cc: linux-gpio@vger.kernel.org, Arnd Bergmann , Andy Shevchenko , Bartosz Golaszewski , Christophe Leroy , Dmitry Torokhov , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 27, 2023 at 11:12 AM Arnd Bergmann wrote: > From: Arnd Bergmann > > There are only a handful of users of gpio_export() and > related functions. > > As these are just wrappers around the modern gpiod_export() > helper, remove the wrappers and open-code the gpio_to_desc > in all callers to shrink the legacy API. > > Reviewed-by: Andy Shevchenko > Signed-off-by: Arnd Bergmann Reviewed-by: Linus Walleij Yours, Linus Walleij