Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1396738rwd; Thu, 1 Jun 2023 15:11:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7wA1QbO7YE4uVVIQ54Uw7vom4VX5v+b77Koo7EkJ8c9WORq3BzYdDeQRvwV5idfdJG8Z5s X-Received: by 2002:a17:902:860c:b0:1ac:8ad0:1707 with SMTP id f12-20020a170902860c00b001ac8ad01707mr758388plo.1.1685657472238; Thu, 01 Jun 2023 15:11:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685657472; cv=none; d=google.com; s=arc-20160816; b=H7dHb8CuPyxOWjD+QA0Wr9BtiYa9LL/+fqs52KpsbHEnCRn4bXZDjTF2vGIXqsU1LQ hGs+dbG1bFzGwzrk9P3M/vq6OI577u9gGhJmiWLCVfUNHx7tMoBNUYg/AXHUy3dvqSgF vIs2lCYEjmyyvhdW3hXADdWrA8V9v74YbRdkzkrfKj3RscOTIg4qCAwCCSQuzLQpbuDY uim5Qmxt0kXFzurlCV8hv1Xu5ZuhNunLNBO25vYfQug4blEnh6vkjZekc+jVRt3RMg9G duFzkC5R3Swk7J7758VuV6nhNX39eWxWNbxRSgoLCa2nkNlldpOHhlwrABP2Jga9rKRS jaKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=7MpMyQagE9VxfRhhuU9rtK6yci5C7podRJgIFNBfcY8=; b=Tg1GpmJNvAa2xI2AS+g35hU6HtIAugAVvN+Ny3CwqagMD73waIAubYtoPwa31AKwGZ 8juzNxpQJuqsgeeJ7Z45RHlVAuKptUtegu4Y+89oht5w4cOLQ9mkYYUspGj0aLTIqjri T6adbzSCZKArFnXh7kFBNjx5/GD7v8Ks4M3Tv6OQ5CXMGneV/jgCKxVm1jR7cDbTYp5A ZqpLi+fNt83BbLTzFKan94dqMd9bfv+omv/j8CJ/HyEI3S0SShFiv8mMmF6zCz3LXnCb zT3ntXWwaWuC99rD2Bht9U9y7rfgiS3YDGc+y85Wh8/KYnGiNZcTkQooEXOTl4wAm8Z2 Q4Bg== 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f8-20020a170902ce8800b001afdfd0b36dsi2718820plg.359.2023.06.01.15.10.57; Thu, 01 Jun 2023 15:11: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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232793AbjFAVmz (ORCPT + 99 others); Thu, 1 Jun 2023 17:42:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231941AbjFAVmy (ORCPT ); Thu, 1 Jun 2023 17:42:54 -0400 Received: from fgw21-7.mail.saunalahti.fi (fgw21-7.mail.saunalahti.fi [62.142.5.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22A1BD1 for ; Thu, 1 Jun 2023 14:42:53 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw21.mail.saunalahti.fi (Halon) with ESMTP id 41dcce44-00c5-11ee-abf4-005056bdd08f; Fri, 02 Jun 2023 00:42:51 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Fri, 2 Jun 2023 00:42:50 +0300 To: Krzysztof Kozlowski Cc: Linus Walleij , Bjorn Andersson , Andy Gross , Konrad Dybcio , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH 1/8] pinctrl: qcom: qdf2xxx: drop ACPI_PTR Message-ID: References: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230601152026.1182648-1-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no 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 Thu, Jun 01, 2023 at 05:20:19PM +0200, Krzysztof Kozlowski kirjoitti: > Driver can bind only via ACPI matching and acpi_device_id is there > unconditionally, so drop useless ACPI_PTR() macro. With this acpi.h becomes unused and has to be replaced with (AFAICT) property.h mod_devicetable.h (maybe others, but I haven't checked deeply) With that, Reviewed-by: Andy Shevchenko > Signed-off-by: Krzysztof Kozlowski > --- > drivers/pinctrl/qcom/pinctrl-qdf2xxx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pinctrl/qcom/pinctrl-qdf2xxx.c b/drivers/pinctrl/qcom/pinctrl-qdf2xxx.c > index b0f1b3dc6831..b5808fcfb13c 100644 > --- a/drivers/pinctrl/qcom/pinctrl-qdf2xxx.c > +++ b/drivers/pinctrl/qcom/pinctrl-qdf2xxx.c > @@ -142,7 +142,7 @@ MODULE_DEVICE_TABLE(acpi, qdf2xxx_acpi_ids); > static struct platform_driver qdf2xxx_pinctrl_driver = { > .driver = { > .name = "qdf2xxx-pinctrl", > - .acpi_match_table = ACPI_PTR(qdf2xxx_acpi_ids), > + .acpi_match_table = qdf2xxx_acpi_ids, > }, > .probe = qdf2xxx_pinctrl_probe, > .remove = msm_pinctrl_remove, > -- > 2.34.1 > -- With Best Regards, Andy Shevchenko