Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp168326rwi; Wed, 19 Oct 2022 19:20:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM67eXJ49397ngJOkgPlH0XuQn1isyizXRtJbjWPHpgg9RiJr6fLwK3hE+QeY+QpnPvtPXV6 X-Received: by 2002:a05:6402:26d2:b0:45d:280b:5878 with SMTP id x18-20020a05640226d200b0045d280b5878mr10245955edd.385.1666232412389; Wed, 19 Oct 2022 19:20:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666232412; cv=none; d=google.com; s=arc-20160816; b=zzbcf9O30xga08jCnvVkGKycCu+jT+BJyc4euIjPqxqeZwqveU1IHVabt2DdtFaO6y pNh6Phi5CxJSaXAA3Q2Pcn7jCJFALguRCnSBEnMdRGrQdCt2pLolxrz2ZmpmczJR2SXx f5siOb/LgSs67kTR8HmMPgJQE9Fvj1aZ+bYyhszJvCCljVIy8lTPeEU2WBOUPC7zoRpb F3jpoYsH5lRl1BjES6jymaReNZCMSdu5erlnpcfc6O0uhF2w7lil7KY529CxBT2ZFQnj wPXUBTqEhlc8vDIHeNc8ZTRsBSrd7sahcpUe6eQFs7SjNWRzGmQHYlEraAhj2kxdfb6x NCTQ== 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; bh=/KNt1saws/21aqFc8Jwk9VPHaSQDPRAjcwq1UtHhvzY=; b=pa7y7uufrDUo/zuf0Lys+0z7Dg1TnoKtRPdjbZwSRalcpMTtRpcrsJdiOG/XDahzHQ LxQpRSxE2p+j0RPZ8Q6QVEAQraDe6X6uRuwou52JCzVIUmWKDG/lcl7Zs/0L2/G0Vg+G YNTLx0s6695FxEWeoBXn9KdMiKCCf6Ux37u7Gcv/CYGcZx0Dni0nADXVk3/MBkfnT/K+ V9QgUckBYpNaji9Zq4zVcg4BYXiE7jxuf54y4CL8xpgo65MvXDNB4C8+ZErXKOkuacZK cpQdZEFNcWQpmgyGK0xEcTZvbtQXFbeu10BB/0J8wC3vkfNbQxruvqpm7tqMlSWpewmS FAaQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i7-20020a1709064fc700b0076fb816dae7si17302012ejw.97.2022.10.19.19.19.36; Wed, 19 Oct 2022 19:20:12 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231526AbiJTBsL (ORCPT + 99 others); Wed, 19 Oct 2022 21:48:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231479AbiJTBsG (ORCPT ); Wed, 19 Oct 2022 21:48:06 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 500F41D2B58; Wed, 19 Oct 2022 18:48:05 -0700 (PDT) Received: from canpemm500004.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Mt9NX6S1yzVhkK; Thu, 20 Oct 2022 09:43:24 +0800 (CST) Received: from ubuntu1604.huawei.com (10.67.174.160) by canpemm500004.china.huawei.com (7.192.104.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 20 Oct 2022 09:48:02 +0800 From: Xiang Yang To: , , , CC: , , Subject: [PATCH -next] gpiolib: acpi: Use METHOD_NAME__AEI macro for acpi_walk_resources Date: Thu, 20 Oct 2022 09:44:26 +0800 Message-ID: <20221020014426.188667-1-xiangyang3@huawei.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.174.160] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500004.china.huawei.com (7.192.104.92) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 Using the METHOD_NAME__AEI macro instead of using "_AEI" directly. Signed-off-by: Xiang Yang --- drivers/gpio/gpiolib-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c index a7d2358736fe..064ba5150fd4 100644 --- a/drivers/gpio/gpiolib-acpi.c +++ b/drivers/gpio/gpiolib-acpi.c @@ -512,7 +512,7 @@ void acpi_gpiochip_request_interrupts(struct gpio_chip *chip) if (ACPI_FAILURE(status)) return; - acpi_walk_resources(handle, "_AEI", + acpi_walk_resources(handle, METHOD_NAME__AEI, acpi_gpiochip_alloc_event, acpi_gpio); mutex_lock(&acpi_gpio_deferred_req_irqs_lock); -- 2.22.0