Message ID | 20231023053530.5525-1-raag.jadav@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp1090384vqx; Sun, 22 Oct 2023 22:37:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMO9kBenqdyfVhW2oVC4TDbZh/8JPkK1K8AeIMCJZ+CNmIEPxBgDf6s9CoZ8m24sQhx+a1 X-Received: by 2002:a05:6a00:1593:b0:6b8:69fa:8ff with SMTP id u19-20020a056a00159300b006b869fa08ffmr5901519pfk.17.1698039419815; Sun, 22 Oct 2023 22:36:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698039419; cv=none; d=google.com; s=arc-20160816; b=DmOw9TNP0r0i0DOBxKCBikbUBzU5iNVfKns8r95n+Wzk724kBkpe7yN4QdL8ALIFw9 yc9o8rA3Qwiusl9LF/Sq/LcDh/XOxTBXJrVIs59FjCzIeY9hLWvjMhTSoV227JIdv9Zc 0fgOvOtjAWFYCWr4VcuBXV38s78SVpryKKKR8vGuy+hoOrOu0hZRw5EHWxzjh/SW73oj 1FYG+YBW5VCZpR4WDiD+oYdCWlem8asDb+joQGLumBnTJCIyI/kj5yIJOjcAkCPDIrvW OTFPHdSUTLV1xmyUa9T0I1q2loIrIu7bBs208uI/aZFlBfHUZ/AbDflpggicTNXV8XGE PW8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=Zdisgnxo9Z4jcN7Zx7CyUnnBNtmle/Sk9vIYWSnInPw=; fh=jahFJYSZbW5wMNYi6sgvoYqPjA4Ed86fT1kpbcI5rrM=; b=RLwnL30Yg+GTqMpG3WyHuj/LH2GM5v9YvGjg63u58FmKP0UVpJ2c7kc3afiUfrXnnV 56y5sCGECCahUfG0DVXumX4XT2GYsjMvkCRKuWkH4ObIS1tVbz2TvJUUFTUR1t3pXfi0 0bPNFP5rUMEVLbKmAfk0chAKLAst8PXZKNBr8D+rrUUV5BOkifWfvQxshXVta7u54juJ Miv89msU4B1P47oP69BMUJSDzC8caAgFwnsMHXY3K4K5QwRQzfGT/qVOOXW4+lPM/d+G 5rKGfkNervgsQaPvWaO0kcOXhc2uq4EgqlwSmCcG8stZ7YR4FSNtfgCIp71sTWL3AAbg oL+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TGO9k8G1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id j1-20020a056a00130100b006be1dd29127si5915316pfu.127.2023.10.22.22.36.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 22:36:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TGO9k8G1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B35148088A48; Sun, 22 Oct 2023 22:36:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229564AbjJWFg2 (ORCPT <rfc822;a1648639935@gmail.com> + 26 others); Mon, 23 Oct 2023 01:36:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjJWFgZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 23 Oct 2023 01:36:25 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89C7AE9; Sun, 22 Oct 2023 22:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698039383; x=1729575383; h=from:to:cc:subject:date:message-id; bh=A+HHnsIqeJDnLwMTstSYgBGn2R5+0SVjEsJpoHcWuWs=; b=TGO9k8G1c5+7JQ5W/JSs6rz3xPLUTQLZwJhSVqYyuUjXYT9rubqvwW1D TLY0opmXW/D46E3e0LsZcPLyzzv8QnL4CilngWbKoELxQ5wxrsUoKnwwn PAoIR1geXFZ1dONm/0Rn6Mr67kP09gLBFLO1z3Um/jDXjn6a/kEuhp2DP 5OTPglWz/iSk3ULduiaXNdfFMzpkUamJo/csBuJy25seqb0O72FORMIFm 3kDa9iNlXZOcKcTHg9SkUDnojS79oAfIlVOSmM/Ut1mfGBEjltHQgNYQn na+qpFS7tSrPtHlcAzbuFsLrFy6NPaRK354wWwTMsZQQ8npqi4HWV80cs w==; X-IronPort-AV: E=McAfee;i="6600,9927,10871"; a="417905358" X-IronPort-AV: E=Sophos;i="6.03,244,1694761200"; d="scan'208";a="417905358" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2023 22:35:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10871"; a="734556671" X-IronPort-AV: E=Sophos;i="6.03,244,1694761200"; d="scan'208";a="734556671" Received: from inlubt0316.iind.intel.com ([10.191.20.213]) by orsmga006.jf.intel.com with ESMTP; 22 Oct 2023 22:35:53 -0700 From: Raag Jadav <raag.jadav@intel.com> To: rafael@kernel.org, len.brown@intel.com, robert.moore@intel.com, mika.westerberg@linux.intel.com, andriy.shevchenko@linux.intel.com, mark.rutland@arm.com, will@kernel.org, linux@roeck-us.net, Jonathan.Cameron@Huawei.com Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linuxfoundation.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-hwmon@vger.kernel.org, mallikarjunappa.sangannavar@intel.com, bala.senthil@intel.com, Raag Jadav <raag.jadav@intel.com> Subject: [PATCH v2 0/6] Refine _UID references across kernel Date: Mon, 23 Oct 2023 11:05:24 +0530 Message-Id: <20231023053530.5525-1-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 22 Oct 2023 22:36:51 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780523382425101790 X-GMAIL-MSGID: 1780523382425101790 |
Series |
Refine _UID references across kernel
|
|
Message
Raag Jadav
Oct. 23, 2023, 5:35 a.m. UTC
This series refines _UID references across kernel by: - Extracting _UID matching functionality from acpi_dev_hid_uid_match() helper and introducing it as a separate acpi_dev_uid_match() helper. - Converting manual _UID references to use the standard ACPI helpers. Changes since v1: - Change acpi_dev_uid_match() to return false in case of NULL argument. - Drop accepted patches. Raag Jadav (6): ACPI: utils: Introduce acpi_dev_uid_match() for matching _UID pinctrl: intel: use acpi_dev_uid_match() for matching _UID ACPI: utils: use acpi_dev_uid_match() for matching _UID ACPI: x86: use acpi_dev_uid_match() for matching _UID hwmon: nct6775: use acpi_dev_hid_uid_match() for matching _HID and _UID perf: arm_cspmu: use acpi_dev_hid_uid_match() for matching _HID and _UID drivers/acpi/utils.c | 34 ++++++++++++++++++++++----- drivers/acpi/x86/utils.c | 3 +-- drivers/hwmon/nct6775-platform.c | 4 +--- drivers/perf/arm_cspmu/arm_cspmu.c | 8 +++---- drivers/pinctrl/intel/pinctrl-intel.c | 2 +- include/acpi/acpi_bus.h | 1 + include/linux/acpi.h | 5 ++++ 7 files changed, 40 insertions(+), 17 deletions(-) base-commit: 64b6555f2fe6b43fb6782aa3e2cbb34bfe39047d