Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp912451rwi; Thu, 20 Oct 2022 06:43:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Pq798OOTfx7MYm5lMydgfWBgp5mpBuwDQOdsHRK5nc8d+WS/PAeHFEZsbW6993wtChUWK X-Received: by 2002:aa7:c40b:0:b0:45d:4492:a8cb with SMTP id j11-20020aa7c40b000000b0045d4492a8cbmr12038709edq.217.1666273394822; Thu, 20 Oct 2022 06:43:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666273394; cv=none; d=google.com; s=arc-20160816; b=ONorq/qm1kGIvZC66ngcrKJtsEQGTgirq+D8KFQYKNKzqbkgCEcA9MrviZPjuvignl C8xyjgT+FNw+jAfmz3c0L/3yU7GB+EvOOE15bp1569q4oOi5kIxiUTVduIWfu4pFjqzX 1sIcGprtftCiHjfCoORaB+TO48eQxTUidU3CMCB/Gxpee+iRxduMx2kP9w7OI3u3SguQ L53fnB6pWAWj2r7xQVeSC4dXeLMJ5AlGOcagWIHHBm0zbEHwdC7wx2d9kNfl8Xg3q+IK xm8pYTb1lVr+Gd4L66Mz4WAGDSFqWShjxzL94MT82AFYnh1UxW2N+XRUXb4AhMMUDGrS Ftqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1/rQTj+F6iMjBXDfbMgUbbilI53wQ3z95Itk6dlN+G0=; b=Smc2s8/G6/7ll7jXc9boh4iUcgKnznO0H/yVxyp9JFH+W8f93/FLSNT+rWpG0vOyyZ pksPDdWvsHcbasc8BB3GmosbtpH9tfF2wewZPqQHQDqXTRGPQcqHGN6MfiIdI7r4ozMV i3x0w/TVSUGOhlfUewRa5csX4GO/fBYb/BAORGg6eYePgEo004jGpvPTaXpctbaHpx8O QLLacQ+08AeGvbGJ1D8l4mskQvutORtdNcDn5SsY4myWxG71uRtbPy0WbZNDf50MkX8F GiMa6A798UKvqbU7iIwgQag9hiWlHvq87a4tmAL5P4r+QKwIYo8cnG5BWC802msx8zYG fmkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=TmkYGlOf; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg39-20020a170907a42700b0073dd47c3873si15870629ejc.878.2022.10.20.06.42.48; Thu, 20 Oct 2022 06:43:14 -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=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=TmkYGlOf; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231351AbiJTNYT (ORCPT + 99 others); Thu, 20 Oct 2022 09:24:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230490AbiJTNX5 (ORCPT ); Thu, 20 Oct 2022 09:23:57 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D81B510B7A6 for ; Thu, 20 Oct 2022 06:23:45 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id bu25so33602709lfb.3 for ; Thu, 20 Oct 2022 06:23:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=1/rQTj+F6iMjBXDfbMgUbbilI53wQ3z95Itk6dlN+G0=; b=TmkYGlOf4GCNJ81/OoLjk86+MxSeybTFWnt9z8rU+UDTpDh5LChJVRsmtJdRnC6MTr Bz56C3f0b8GV4FX3GH7R7BNUJ+9zrfCnmn1nUfM3LuNK/g3blm7yKkf8SMsBCwOUX4oG uHeO2dygaxJCKW38lYlf5S5tfkjXK064qBAZpNs9lj3mj8nGIDvwRgA+chFO55BmA7Qr VNfQj7ZzSeTfoDePm/yuLl+xgw197ugjKP2ByTunLcCgMrH2/08/J6m2Y6ENYnAJD92W +cj6GJqAJ9OEszgYa6EJd1WsQxaLoyUIfrK4g2/wPHXLppvWAhRJ/NoPCUcToqIp1uyh njoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1/rQTj+F6iMjBXDfbMgUbbilI53wQ3z95Itk6dlN+G0=; b=kbCSDBziXlqrpnvCk6vN0O9pP1fD49KMJfb7c+3EIKWkPw6n8+BwUOsfAFJWS06fCI 0Pmd4AE8IvgPGgSIwDGHlCvnCB8owDmxeCi8xuXW658G8AzZuMlJa0SMXEKtKARkkdv2 KuwjTzMkGXK9ZsJjz/a4dJ38w9ov4zmvRjQRkZB5SmnuChEgZCMGizUZ5XW0RCuTXJpJ 9/pH5THtuNkX+0YvXYVRhmj7WiqKwJLCFTbKTM9NDTjQUTJ1XXaZWUbv5vLLhTDv73VY dDKJifJxOdeCvpQL5AZVgLWOkckFmzAGbI7gfunpNCF/lfgxScCyEXbYgdM6Pby+Yi3o KauA== X-Gm-Message-State: ACrzQf017EW98nSN7TiTl59cmnnWKZiNFPYl+1MEO5n6lpFqrcTsCCBS +TyZVxsqBHrkSNjfNePWP1N4LUwbgD7udppLBFDmiA== X-Received: by 2002:a05:6512:1188:b0:4a2:4d8f:74ce with SMTP id g8-20020a056512118800b004a24d8f74cemr4918670lfr.112.1666272219775; Thu, 20 Oct 2022 06:23:39 -0700 (PDT) MIME-Version: 1.0 References: <20221020014426.188667-1-xiangyang3@huawei.com> In-Reply-To: <20221020014426.188667-1-xiangyang3@huawei.com> From: Bartosz Golaszewski Date: Thu, 20 Oct 2022 15:23:27 +0200 Message-ID: Subject: Re: [PATCH -next] gpiolib: acpi: Use METHOD_NAME__AEI macro for acpi_walk_resources To: Xiang Yang Cc: mika.westerberg@linux.intel.com, andriy.shevchenko@linux.intel.com, linus.walleij@linaro.org, linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Thu, Oct 20, 2022 at 3:48 AM Xiang Yang wrote: > > 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); This line dates back to 2018 so why -next in your PATCH tag? That being said - patch applied (unless Andy wants to take it directly). Bart > > mutex_lock(&acpi_gpio_deferred_req_irqs_lock); > -- > 2.22.0 >