Received: by 2002:ab2:7988:0:b0:1f4:b336:87c4 with SMTP id g8csp113265lqj; Thu, 11 Apr 2024 11:17:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUFVa8fVnXJxwCISLNt1K50dnZ5SugW9jkFgA3UumnwoqFZPmrgt061PxjzTcPDizR8N9CznLwY4pH/Tf91X9GC4b+QYEyaRSNtoSG/EA== X-Google-Smtp-Source: AGHT+IH5S4S0rRD+lp4hj0Qu4DtRAgO4aznSypvZSA4fKbe7ZcwLsWN0hOQzDvW8sVnuuEh0jUPC X-Received: by 2002:a17:906:468a:b0:a52:2f86:baf4 with SMTP id a10-20020a170906468a00b00a522f86baf4mr283150ejr.8.1712859477708; Thu, 11 Apr 2024 11:17:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712859475; cv=pass; d=google.com; s=arc-20160816; b=g7l892qa74h1kQP5gB80oWABnX35gl7qHzQWHsdH54uuNRtVU4KyDpdm6e2LNndOIl KY/j+U6Wa8T2xtqO52HQw9OLcA9C+Oo6b90lUQQoeqYiOObSoaqsGxSHwpYcWNnEEfCs T/1lFm14YlaCHealgiabhWaXmsumyRSJXsg9tpmEm7XyJsb8K6XZ2Pi/E8hjjeMDvOKX vujYj9NVR20efMgpbBnFRc4F+JVX7xOUHw4vcoOLnBDUisFq78/viHljXC8XIRSqYFvy y8a6lXqk9WL+Vh/CQFBvYtSZh3iQvRd1EnaqSjD/3h5hfJsnBSgIWiv8K333PP+zwQbO WncA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=/wOTnyJ4gG0/aRB+p/eywMA4tNwTOBhNLodInei/vbo=; fh=gPfXeT2MND+Ait7ryvC22ezDaTuJ6oE6n6UJopvsHf4=; b=JPq9vKCzElZ8qq9qLqFpIbpFvBZFDQPHCGv9DFLH/OlPO9A6TXKy940FpXesUd7Mr1 gyxfFestU1tUxwk3Miu3XKwTqSYvFuArHDWZ0Cv2xDrPFvTFSyHPhwzDkz1dSwhQOqxk OJ+UfT41x5dZvZ8aYaappD8v0UqY6mZEJ+RR2m1oZeg6OmNTfIPCWB6uXrUmqBTdlJsA mccScsjaB4+m9u/lH6my/B+yDqK2SlGb33zKGDvO1YU6eWs1J5tdaCpOH6c5ZumdXFZw q57xxeOBhIhUlCcCTmPFAB9AjJ3JU11FSomFEXGgherWZVnBQQMFoaV++L961VVJ6p3W cJqA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CDyejZbC; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-141401-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141401-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y23-20020a170906071700b00a522d380a2csi277735ejb.30.2024.04.11.11.17.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 11:17:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141401-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CDyejZbC; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-141401-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141401-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7B8A81F26122 for ; Thu, 11 Apr 2024 18:17:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3EB7D55792; Thu, 11 Apr 2024 17:26:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="CDyejZbC" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C430D535D9; Thu, 11 Apr 2024 17:26:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712856405; cv=none; b=AQRza/lm69jZWxgKExSoo6iuqAPv7rffxRomty9ZDNjzybj+n+/jM9FM1v5Hytdgj1nhlxovfHSGCjNoLEqLxUgUgX5SLKPQ89PlOaKsRnKMyxaUzwGRYLAVknlWKMhEVW/fuIcB1Umx2g7jdg7EVSiyHFrnmI78aNL5TEIGdeo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712856405; c=relaxed/simple; bh=rb4Rwfv5xHnQdtI+SSu0ajaicwDU38E72wab/KYC78w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KR2qB5EJF5GQZ+PFzKn+U8I6yLQAbgIWyGCTAMVQA/Q7YUqqz8dIf8po0EFUhhGe+/Y7gHBGvGlu89JwJqgRTuwZs2ZxPnJGzqjbd6k1s3GsdS65pTGmz1LoGJIcy2q34jYxsIZF7/AtNb8GrrE2dBOMkvpYYLJhU8tjXJPL3Po= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=CDyejZbC; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712856404; x=1744392404; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=rb4Rwfv5xHnQdtI+SSu0ajaicwDU38E72wab/KYC78w=; b=CDyejZbCvLFiFmOLVt9/RkTrbxuYqiJP72FFAZ2zOGCogQv076JnnPNg 1L9Z7KrjtLv5i1zGmm1EsRLwOzE3lZ29yPClI1qMqzRMSH7YhO4TPeIDh I3SKhTQuk2J6lRg48rOmUyH7GN+MMOLxDV1ZIKgTeAVzB1waXqvo31Hgi Sqy5zuwXsH+7jxNK0mIN0ODQu9eqX9ZLOFu1MzDqSRKv7vryuLxJNdU3P 5/8++PXiXtkWWKrMCG3RSs3/FCPA3Tuxh14G3pxBuo27sgZQDGDNH9FiG /z/peF8fiVH904gBUXKS2cx7qyFfUQBilHKdA9Te6prFbNncHAWPqNuge A==; X-CSE-ConnectionGUID: mQTJ7LqGRnCJl1C1YPR7xg== X-CSE-MsgGUID: 3AhjIcm2SzKPeD+XY0VtGA== X-IronPort-AV: E=McAfee;i="6600,9927,11041"; a="18845025" X-IronPort-AV: E=Sophos;i="6.07,193,1708416000"; d="scan'208";a="18845025" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2024 10:26:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11041"; a="937097278" X-IronPort-AV: E=Sophos;i="6.07,193,1708416000"; d="scan'208";a="937097278" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 11 Apr 2024 10:26:35 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id E99FC194; Thu, 11 Apr 2024 20:26:33 +0300 (EEST) From: Andy Shevchenko To: Bartosz Golaszewski , Andy Shevchenko , David Thompson , Linus Walleij , Patrick Rudolph , "Rafael J. Wysocki" , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, netdev@vger.kernel.org Cc: Bartosz Golaszewski , Mika Westerberg , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "Rafael J. Wysocki" , Len Brown Subject: [PATCH v1 0/4] gpiolib: acpi: Use con_id in acpi_dev_gpio_irq_get_by() Date: Thu, 11 Apr 2024 20:22:28 +0300 Message-ID: <20240411172540.4122581-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use con_id instead of property in the acpi_dev_gpio_irq_get_by(). It will be aligned with other GPIO library functions. Assumed to go via my GPIO ACPI library tree follwoed by GPIO subsystem. Andy Shevchenko (4): gpiolib: acpi: Extract __acpi_find_gpio() helper gpiolib: acpi: Simplify error handling in __acpi_find_gpio() gpiolib: acpi: Move acpi_can_fallback_to_crs() out of __acpi_find_gpio() gpiolib: acpi: Pass con_id instead of property into acpi_dev_gpio_irq_get_by() drivers/gpio/gpio-pca953x.c | 2 +- drivers/gpio/gpiolib-acpi.c | 52 +++++++++++-------- .../mellanox/mlxbf_gige/mlxbf_gige_main.c | 2 +- drivers/pinctrl/pinctrl-cy8c95x0.c | 2 +- include/linux/acpi.h | 8 +-- 5 files changed, 37 insertions(+), 29 deletions(-) -- 2.43.0.rc1.1336.g36b5255a03ac