Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26282309rwd; Mon, 3 Jul 2023 07:43:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7kX9rcoR1eapA4jgBGNBWd8pBDd9ZyXpECyohmKYHFK56mqavYHy1BUTvACOREnY1jYhwv X-Received: by 2002:a05:6a21:3392:b0:121:fd18:4b51 with SMTP id yy18-20020a056a21339200b00121fd184b51mr15169036pzb.36.1688395393077; Mon, 03 Jul 2023 07:43:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688395393; cv=none; d=google.com; s=arc-20160816; b=f3F/0nnSbpT6kIB9ZKKL8NfK58gF1/16/kTWaoRKWAvlhVp+YjI+qAYwl3xubK3sDe UY9o+LExU/uJ9MWjmlz2GzkNwyBQlp3/zkTvwA3UBTZ0QgRFBWHZfUelHMxrVn4wJ9FB V9E0+N2MpPcX1Q6zSRogoZpIRHp6edsVYRKdZU6e55TqBtJANnccHbhS/+9dHkuuCrJI SueEMkJHrM/J0rGOAl+uiKmCEwlQdGyTc76+9ulBOqM6OJTNRillp0hqKfBVsvwVYZSj ij7yVTSVHNFA/PeM2zESNQ4KvVKOS4eGs8Gn5l9DRQHF4FOeoGnFskC3Ah04iQJbMBm4 SOHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TFDhDia1nWhr0BuMoUvGQxqXP4G5qaOor0pVlg3Jppg=; fh=NYFmJrOLNZ7OC98KK65PNmkms20Dw62yhLc8aWV7spQ=; b=iciwBKoiSkBWUS0PtpPHhsWusfim67S0zuhr7N2MYFUfSTqe6gSJ1MvexEUsIp9yz4 1oQRzDKeKWjNF9MfRFvd40Mnc783WalDGLj6geyUitZrnG9EcDL0QaA7brlQPO2jHja6 vWGcOUYdQYvVcpUhb04QIVt8d17QcCmXWxRT5IPKzQG8zHK9a4A5scx5bTxrmOfS7sTD ety8wiznWa+uwsF3geOog3PN9yY7TRvvN64ZXBSkgVQ1hDmWJsONtRZ+rHsjDnfIwDqd Wvva7nvp6t7v3l1DWQLwryKXHsUAMCaBF4xAB/+XgyM5ku+KZdGkhCnpVDJKjChOMeQq Sx4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XGOTnZO8; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z11-20020aa7888b000000b0068281dbbd13si4566466pfe.76.2023.07.03.07.42.59; Mon, 03 Jul 2023 07:43:13 -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=@intel.com header.s=Intel header.b=XGOTnZO8; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230078AbjGCOXP (ORCPT + 99 others); Mon, 3 Jul 2023 10:23:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229892AbjGCOXL (ORCPT ); Mon, 3 Jul 2023 10:23:11 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4221E54; Mon, 3 Jul 2023 07:23:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688394189; x=1719930189; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=vjx0VlxZEZ07YZ5Kla57Lmn6980ed+GxL6WPVwXJIYw=; b=XGOTnZO8s8rqk4t+E3qLpNv55k0KzAzDUssFaDnbtD2UjqIDEI4haRrh /f8kLJrwEADLnpuBHVE5bJYCrxCB5uX5NaAHky93B2iS2TIzAFCKEI4sQ cx09nnCZYhgZsbUykkVEb9ax+S8Vg0S65hAbzmUVM8WB6X6ppScKP43Bq z+RyLPIe3YQDctk6rcSKzpS+lvSlMif4+Ou/U4kMp75lvY9Fp4ov7lQZ3 xxFa6j2EZehJLtZ6xiGb2rC0JWOJQKaItAGyd6xsBFncYEvlub0C/RA6M 3gSEVkf5d3ufhU3ctEVP77y3wtponiUYdm+nS4WIqDCONRV7IbMVqvLj2 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10760"; a="347681264" X-IronPort-AV: E=Sophos;i="6.01,178,1684825200"; d="scan'208";a="347681264" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2023 07:23:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10760"; a="783917060" X-IronPort-AV: E=Sophos;i="6.01,178,1684825200"; d="scan'208";a="783917060" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga008.fm.intel.com with ESMTP; 03 Jul 2023 07:23:06 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id B4A22170; Mon, 3 Jul 2023 17:23:09 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , Dmitry Torokhov , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mika Westerberg , Linus Walleij , Bartosz Golaszewski Subject: [PATCH v2 0/3] gpiolib: Avoid modifying GPIO chip fwnode Date: Mon, 3 Jul 2023 17:23:05 +0300 Message-Id: <20230703142308.5772-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 Ideally the GPIO chip data structure has to be constant. In real life it's not true, but we can make it closer to that. Hence the series. Bart, the idea is that this series has to land immediately after v6.5-rc1 is out so we will have longer time to fix downsides and regressions found, if any. Benjamin, thank you for testing! Changelog v2: - replaced open coded device_match_acpi_handle() - corrected commit message due to above change - added tag (Benjamin) Andy Shevchenko (3): gpiolib: of: Don't use GPIO chip fwnode in of_gpiochip_*() gpiolib: acpi: Don't use GPIO chip fwnode in acpi_gpiochip_find() gpiolib: Do not alter GPIO chip fwnode member drivers/gpio/gpiolib-acpi.c | 2 +- drivers/gpio/gpiolib-of.c | 6 +++--- drivers/gpio/gpiolib.c | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) -- 2.40.0.1.gaa8946217a0b