Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7519867rwd; Tue, 6 Jun 2023 11:58:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Pk0PVmdziI+CcyOW7tW0vVn3AuFZEaWYhmzbZXSoOW2PyTsgym33wWrI8tiwi5hJfg8Bj X-Received: by 2002:a05:6a20:1456:b0:10a:e9ff:808d with SMTP id a22-20020a056a20145600b0010ae9ff808dmr787907pzi.0.1686077903910; Tue, 06 Jun 2023 11:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686077903; cv=none; d=google.com; s=arc-20160816; b=uYNcLJetBP4hsbut59ZNuzF0BLsMQJRrnmOkzBf3v0K7yvUhXWC2pYgonyl1eduM1u KUFNyqrDc6/lpMesZ6YQpRF93zmu9an1JLXTgFzLhyrLOrYBYJDbPC02q1scfibumvcf FRZ5XBwMsvUhEnCyAn6MhTM0vnEiHKjM+3nCGyd3yOMsp2DdWOeLyad/ns77ZZotcLVs Ztb3vOFu26NZuiJ2d88witYiC7xRM42WVN7xHwdsunJSX5XRCMzavuYCqlJ5islCjLdx BaGn4beAdFnlEplbtKbfrSBqE8lgTSukjlTrX33u6OR844oMojA+aZQkS3bwPWrESZoo Id+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=0f2HXwtzZPOu2SMs3B1mSn7YTNWPbzVJ1Q8BJIRe3iQ=; b=nv041EG9G3ur725vK4Q10byFhWCmrGAYbDYJi1x2A5SAmjdez+9zsRX/Dv/S1k52Ks DlnIRXwZGXSZpp/6QfybdFPUUDwlo1d3yVNI9e7UPogD/9rcaaSKyg8mt9Fz8xWTSkkh AvXOpCEDDuqrsP25qLzz6RB2q6x9RgaIWS49DizWD6HNbmD3B7vw7OL/VPsHJ4xGeKu3 Iw0EWZUa96cZPBrGRfrkLB6kk/X91Hja9vI7gW60TvR2Xy4QdspkCVTvzbNdrmvd0eGB 6ces3TZGubZ/+88fYh92SfJZVESI5pdyVK4rzA+3M236EBMieXYAbTSZEnpLTfRJObPo spPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A83iW40w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r185-20020a632bc2000000b0053416d0b54dsi7689501pgr.518.2023.06.06.11.58.10; Tue, 06 Jun 2023 11:58:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A83iW40w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S238911AbjFFSpM (ORCPT + 99 others); Tue, 6 Jun 2023 14:45:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238887AbjFFSpK (ORCPT ); Tue, 6 Jun 2023 14:45:10 -0400 Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2340B170E for ; Tue, 6 Jun 2023 11:45:08 -0700 (PDT) Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-565bd368e19so66857517b3.1 for ; Tue, 06 Jun 2023 11:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686077107; x=1688669107; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0f2HXwtzZPOu2SMs3B1mSn7YTNWPbzVJ1Q8BJIRe3iQ=; b=A83iW40wCu/ek1ytLlTmsLhXBj6U+rOa1+tNlTUyFXHdLTSHpOxNJEZdlaEs4eDrTy wQ5+SeaERA498ZJRC3fNAX6yBRgALkT/6PEUYCUm8baZ3JtoDqFtoxHMTtNGbAJWN6BB tXFQHR8yvXw6omV8rL4HRbVIr4XWMcCXzZyzqqxeFQ1frfH166Bo0KTqliVTZzysmv25 2KEQMebNF+8GNvhfgeBcJ4phUzq4icwOP63DiSUsEPjrPZfsY8GjbOhysiCFlST/+jgN xSL1xbO73eHT5aKWvF9+miiRrdye8izuSAyPoDo0sKNHeXlAY7Xa14EoSaz3c5xI1pVy ELgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686077107; x=1688669107; h=content-transfer-encoding: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=0f2HXwtzZPOu2SMs3B1mSn7YTNWPbzVJ1Q8BJIRe3iQ=; b=PVM0ollQzO47+OdPmeRWm7u5RkAZeUpOaYTcE5sKJuQR+YyY9lk+uPVeiQeO8LnY5G E2D+Bf9Q1e960vHYtDl1c7iI0WBJzZfShysyruihqwWMM7xrCWzCh2/1X0lP6hFDQADY xuN6MHwjTVpmXKdhHS1zyhKGxUp6U4TnJ9ipWeF/7CP6+cREDngWGirI7ohAc3LGwiQ/ ahRCl2H8wOCJYWz7A0DYlMV4++ECXWv4rc9kAv9JkwsnOIe3ia7f6QkdBCEajfhxe6Qe Eand/9YfJ/pp2rYKIq3oC67OI5uBO4Ej2Q27rg97R++wPfVuMgif8kW0UAtHXhcQoPiu CCxw== X-Gm-Message-State: AC+VfDzbXHdt3WBGEs9mfhvf/C+vGB1tUWE19alPzgjOp34LRP1SN+0E 1bA5olPX7tI9R1rHmklbnhOcvdVHB7F4GtJ0fCkOOy+M9ToRmMBJ X-Received: by 2002:a81:5c03:0:b0:561:baee:ee8 with SMTP id q3-20020a815c03000000b00561baee0ee8mr3344440ywb.32.1686077107326; Tue, 06 Jun 2023 11:45:07 -0700 (PDT) MIME-Version: 1.0 References: <20230602162258.63853-1-andriy.shevchenko@linux.intel.com> In-Reply-To: <20230602162258.63853-1-andriy.shevchenko@linux.intel.com> From: Linus Walleij Date: Tue, 6 Jun 2023 20:44:55 +0200 Message-ID: Subject: Re: [PATCH v1 1/1] gpiolib: Do not unexport GPIO on freeing To: Andy Shevchenko Cc: Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 2, 2023 at 6:22=E2=80=AFPM Andy Shevchenko wrote: > Since the legacy exporting is gone with 2f804aca4832 ("gpiolib: > Kill unused GPIOF_EXPORT and Co") there is no need to unexport > GPIO on freeing. Remove that call. > > Note, the other users of this functionality do that explicitly, > except one SH boardfile which doesn't free GPIO anyways, so it > is safe to drop the call. > > Signed-off-by: Andy Shevchenko Makes sense! Reviewed-by: Linus Walleij Yours, Linus Walleij