Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26341150rwd; Mon, 3 Jul 2023 08:24:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlEVS4XVZDwdko/cNjDVpByeA1bRk2q2Ryux4aFVM5sfTeuRuNgvY6Ty6LDU5VPTAkEiD7bI X-Received: by 2002:a17:903:22c7:b0:1b8:9bd5:8fdb with SMTP id y7-20020a17090322c700b001b89bd58fdbmr1531397plg.50.1688397894804; Mon, 03 Jul 2023 08:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688397894; cv=none; d=google.com; s=arc-20160816; b=QlGiuxStyYfRT4ggszP1YqmxiVc9fDqlNCSzOCG03GTU/ULwfWA16k7IP1aoqj6FvV lG+KpFJK38gwk7X6k0YqnYidx2yj0ejf4nWejZocKHJ6S6rIb7OOI6PMBHs2dKIlKa1m Oaiv71oE5Lv5DaIQmtlL22OG4Pkn6RTOcI8fqZkQgajCYHEYxvCLvpkAtFmFt+tl8Az8 xm5X0XcOVJaekJffbikhd0SE4GPL3cLYhJHXxa+i/uyhQiwAe1J8wv7d3aSIfaslS1Ek Cxczmp12LaNSJbNcwycBBmKEKPNUhgfBirkyfjzW9cuQC/dw4EEvyvxZUJEIzkHZivKG cYIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+YWJ1nbGriEq3dP+xUxeZPBO/HJ9ym253Nzqeh1IsAw=; fh=gvARc0DptPkqdBn+Phpt3G93uAfmKF2OM+RNxaE5WXQ=; b=EtJsNy/FTjAkI/6eUzyVHBeTexW/frwz8Du5hmpg0pIt8ma1NZXJlrJdBmus1+yKbt Dgk8aQKum4GZ5kFmtNGmGkf75tx0RDlGniz2bV31DF9a0vL3n2Pm6S2d0/kMTIxyTcpv NilY8VxS4sOEW+qYhW6th5lWRBpX2lDPf9blP3wfQl3k1Gzrkp+G83Tloov7GpHeSCFw 1loUKZzmqSkXjDh0URvntm1Bj2qlkO8/N6lKTHMI+oLC09wBzqFQgLIR92X2rwFaW8Ua cYA58JsRg1UTj7gHA3jdkN6Y9uKjRus7ERop9hwP9me6hLw/gubG2HWL0aeAuu91NIbY jKBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OBSrlVYm; 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 q9-20020a17090311c900b001b3e8a24232si19707287plh.186.2023.07.03.08.24.42; Mon, 03 Jul 2023 08:24:54 -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=OBSrlVYm; 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 S229844AbjGCO5C (ORCPT + 99 others); Mon, 3 Jul 2023 10:57:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229656AbjGCO5B (ORCPT ); Mon, 3 Jul 2023 10:57:01 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 494A6E42; Mon, 3 Jul 2023 07:57:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688396220; x=1719932220; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=aOA/niQKcCZkM1rgJCS0UVrH0z4BabtgnywIhgk6Au4=; b=OBSrlVYmsqWOOIcirtpu+dV34GLu+25iEAHZQIOF4tb0pYNPDdO7bkz/ L5/WuKjGnOLyKFqgMe0chQigcIjZuv5eTfjwOhyqMZsL068581mhRUw7A 0jfzQrL4XptgT93XHaa7RPOdJrl9QdYQocpuOfduENvZXtK4+D77bLmEO TTtkcWKL6ED6LP0AMHUmesUDiAy7Ca+MRQ1QkmtDrAIuUbOKwO0yzM2PK BjmSWnlhpk51Z9j/Cdrs4K/WwcyE0gyNsuwwDjo5q3sN6e0TDr66hCihp 9+TLS5TxyDmesIpaTT4ngRHQc8Kpf7kh7glNXDqBGuiazrNeQhO2Q0NHv g==; X-IronPort-AV: E=McAfee;i="6600,9927,10760"; a="365473205" X-IronPort-AV: E=Sophos;i="6.01,178,1684825200"; d="scan'208";a="365473205" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2023 07:56:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10760"; a="808614089" X-IronPort-AV: E=Sophos;i="6.01,178,1684825200"; d="scan'208";a="808614089" Received: from smile.fi.intel.com ([10.237.72.54]) by FMSMGA003.fm.intel.com with ESMTP; 03 Jul 2023 07:56:56 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qGKz1-001tMw-0C; Mon, 03 Jul 2023 17:56:55 +0300 Date: Mon, 3 Jul 2023 17:56:54 +0300 From: Andy Shevchenko To: Benjamin Tissoires Cc: Dmitry Torokhov , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Mika Westerberg , Linus Walleij , Bartosz Golaszewski , Benjamin Tissoires Subject: Re: [PATCH v2 2/3] gpiolib: acpi: Don't use GPIO chip fwnode in acpi_gpiochip_find() Message-ID: References: <20230703142308.5772-1-andriy.shevchenko@linux.intel.com> <20230703142308.5772-3-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 On Mon, Jul 03, 2023 at 04:43:05PM +0200, Benjamin Tissoires wrote: > On Mon, Jul 3, 2023 at 4:29 PM Andy Shevchenko > wrote: > > - return ACPI_HANDLE_FWNODE(gc->fwnode) == data; > > + return device_match_acpi_handle(&gc->gpiodev->dev, data); > > Quick confirmation that using "device_match_acpi_handle" also works in > v2 (was easy enough to test given that everything was already set up > locally). Thank you! I would be very surprised if not :-) -- With Best Regards, Andy Shevchenko