Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1708338rwd; Fri, 9 Jun 2023 00:36:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4lI2Czbi8zjMMseLO916DDkasbnJaDJcbGcYzuEJvkg0HYwpjm4Pjg0owWOd+q7/VxORQJ X-Received: by 2002:a05:6a00:b8c:b0:64d:1451:8224 with SMTP id g12-20020a056a000b8c00b0064d14518224mr414490pfj.22.1686296182992; Fri, 09 Jun 2023 00:36:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686296182; cv=none; d=google.com; s=arc-20160816; b=kFY4S2/IP65DSYIz5AvCdOrGQIacAESBxWdFxkgdJV5hIv0XUovhZZzC8XtyfnCeZy 1fAfBfy2HQWwOhrLF1S5k9QmpCl73CQFrBWH25oOPSQqwBqu+4GL/SCKPVYOzG6jfqzv t5KyV9rgeNLh7TahHNUeFFZJcaF1bFz4tLyXx1chqnflLK+oQicT9MkcEg6SPpJzGj2e Du7E4akij5dKuMi7gVaSIA1z1zLs1yfhVhmVdKGDhP2/0ya+1WFeYiZIJBx6wv5Kp0aF bmLTLD96thdTidmMT58RJo6IJzCh4LYaFUqSO6dVZuQJGDdxF84G8OUKzTUMy8Bw/gwT uBOg== 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=leaPsFnX/m+GvKGWxTJ4Sqn1wYZfSdB7I0AWb9xZK4w=; b=zJnL+YUroPr0giztAnVVzq+MHezoTeDZqLjiRPSJD444aQKJjq5j8qWezeoqS/VYU7 rBDMKWv7j2QvuMatCEFMd9Gk+Jt1pgUhoe/+JORdFIQY2XFtOhTu0oOe07yMY8flQMXl OrNb0eCPKKFQzIeE0ftS2TkNAkRZe3P+LoDYTRYbLogEAvGEZHDDgNV/xHAdWd/AdnFh tGYLwt1cypbieDXKLwMKxJKzA/7NyWanKSgvNDxlHhCAyr8MBEiR4x/2JDY2AzH/kXzf PbvpT9z/kt3nr3fgTjpjzdfcABOU5m30nWVJezFK1nJNBowZ1DQ2PrInxDWOGZ5r6VuL zpaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AhgUDWD6; 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 q188-20020a632ac5000000b0053fc9f253basi2186592pgq.403.2023.06.09.00.36.11; Fri, 09 Jun 2023 00:36:22 -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=AhgUDWD6; 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 S238568AbjFIHXj (ORCPT + 99 others); Fri, 9 Jun 2023 03:23:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230389AbjFIHX3 (ORCPT ); Fri, 9 Jun 2023 03:23:29 -0400 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5002CF5 for ; Fri, 9 Jun 2023 00:23:28 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-75e4497597cso137912085a.2 for ; Fri, 09 Jun 2023 00:23:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686295407; x=1688887407; 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=leaPsFnX/m+GvKGWxTJ4Sqn1wYZfSdB7I0AWb9xZK4w=; b=AhgUDWD6EJTn3LSXuXqBGYVPSEU9377WtOyGMK2P8yLBa/PVRsfvov3aE5koJomUOO avII9KHbTDavMnv10K5N63mlCSfrJlEeCUeSPBoA0B6/AF+clXLcbDU6KOWyPSGhc7BH tbpZmO24JWxpXC+NX0yuYu3o4FAdB937jBJVgqrhxIEdreJBzStg6PpR8CVq9DIUtcrW TuSz+ijFzO+7tLO4tnL3aTr2b8Ap5+R0SaYRWLw5LBurl0+xT2e07DuLjeSpQy0N99dV OUidmAJZl5PNpnRLQeQfywEngzsLfknJVP1mICh8cTTkUrtBIx9mseOSrDs6afHU6v1F KIbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686295407; x=1688887407; 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=leaPsFnX/m+GvKGWxTJ4Sqn1wYZfSdB7I0AWb9xZK4w=; b=cNXz1NuGt5gnVLspY5AusH+doLObuXP5lKmt2i9z9mwrPxZFZaN0ita9QV4D1TZIPH eBsrDy/jSKKHrAA3VnPS10bvD7/ciu6ivsWuNOguMIAfWyIE+34zeArDj862XAdrBCq3 zHbsdF+kePC8UP8CIPixvO6gObdxohyFk6hSJNSDnRswi59lt8iWf6YxYxc8t/gEuvvZ tF8A/OKZHq6RM+tbJMRnTiR9GBWlPAXd1+9t8CvJ+3VxgjN2Uy2aleIbfe2A0jyXvWeI p0U92nE8l9KW84Clqdp1+nmAYIZyBEwkqlbOdFT9TKif0QXRJQG/WXN5lNMPmxM5JXyW lCMQ== X-Gm-Message-State: AC+VfDy9X8EJTd9dWW/PY79ZfjbZ0x64ErZqJKbavXAd/4JjCJ9OJHE+ jBzeCjrVjueGDdLtXjrnKs2S85Oy2vCaimkcNRVFcN02Y5fMnAx+ X-Received: by 2002:a05:620a:268c:b0:75b:23a0:d9d0 with SMTP id c12-20020a05620a268c00b0075b23a0d9d0mr366595qkp.38.1686295407496; Fri, 09 Jun 2023 00:23:27 -0700 (PDT) MIME-Version: 1.0 References: <20230605125810.61456-1-andriy.shevchenko@linux.intel.com> In-Reply-To: <20230605125810.61456-1-andriy.shevchenko@linux.intel.com> From: Linus Walleij Date: Fri, 9 Jun 2023 09:23:16 +0200 Message-ID: Subject: Re: [PATCH v2 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 Mon, Jun 5, 2023 at 2:58=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 and one OMAP boardfile which don't free GPIO anyways, > so it is safe to drop the call. > > Signed-off-by: Andy Shevchenko Yeah let's kill this off it is just annoying. Reviewed-by: Linus Walleij Yours, Linus Walleij