From patchwork Fri Mar 10 20:06:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 662442 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D268C6FD1E for ; Fri, 10 Mar 2023 20:07:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230391AbjCJUHG (ORCPT ); Fri, 10 Mar 2023 15:07:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229890AbjCJUHG (ORCPT ); Fri, 10 Mar 2023 15:07:06 -0500 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34324127115 for ; Fri, 10 Mar 2023 12:06:57 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id a25so25411331edb.0 for ; Fri, 10 Mar 2023 12:06:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678478815; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=YIfiMP3YESLd/oa/N7VLY54fnA1n1mTobvMyaeAJG5I=; b=iGQt9h62mnOTsUoZavnl37r/m6EoFfEyryWnN1OsmzpjCwdXw+DPmgZQYPg34N9Sut GBePtrnBp0ZKDZ7tKGeeOSr72F/QLtTC3uh04U3j1sBy/LP124DbBOZg3BNJBrgTHFB3 XoGmwC0Uemtlq6tJ6saDG6/9Uv0LOV3vQhpuOQead4HZWLZTqxz8nD0vifOYsfY41f6x etSSU/8Q92k5hPLlXOcCbaui8VMt/qNfsLByZkmISBwhr2n4u96Jyy4mSmfNFlsihoy8 nz8Imtz50qcLgjx2oOVuOeBpgxu7WfIa0wcNzXdeNj5X5K2l0Ecscnv8Ez3vms67Nt+g B6sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678478815; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YIfiMP3YESLd/oa/N7VLY54fnA1n1mTobvMyaeAJG5I=; b=axcEiqiIC+Mm1Kg7TRiqTLVSYBF+xxfvWV5Ot4tUzdg4N86kpNI5nm4DRsaesMuX7W LhtxkqEXKvhZxJQXtIx6Q1o3TBgC14vi/uneRb0QjLa+qiVFkyMmZt5NLuiCNTh99BVl KeTjClIxwWCOewC65qWrcL6SZvogXGs5eO7oUNTAX0Y2TrHs0XxtmBaC3kpqj+w+sbev K0DIiTOL/sF9a9muHFWSwfFLVik7BQ8o20rOGFf6A8utBULwdQb5blHLYpqYwK78DXEm M7s99RsXvW2DJ27DTbE+rUoYty9Qw8I8uJH7TyfFL8CwLjCGpLSGkhyON7KPt0pwOdW8 E0pg== X-Gm-Message-State: AO0yUKVy2EwoEGUd5qHGNuLbsVUbmRq7FNd8t+PHphsRPA4aS3CnpTRH p43E3lcHoGpjX9O3kf5Qcwneyw== X-Google-Smtp-Source: AK7set9dhsGv4dhMKgAdhPFfT8I0cHuw6MK8CUdJF+4SF1RDBXCP/KvCfvd2pZjlUPEoFRIcVZ1STg== X-Received: by 2002:a17:907:9719:b0:895:ef96:9d9b with SMTP id jg25-20020a170907971900b00895ef969d9bmr29890226ejc.30.1678478815726; Fri, 10 Mar 2023 12:06:55 -0800 (PST) Received: from krzk-bin.. ([2a02:810d:15c0:828:34:52e3:a77e:cac5]) by smtp.gmail.com with ESMTPSA id mp27-20020a1709071b1b00b008d398a4e687sm234154ejc.158.2023.03.10.12.06.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 12:06:55 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Sebastian Reichel , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] power: reset: qcom-pon: drop of_match_ptr for ID table Date: Fri, 10 Mar 2023 21:06:52 +0100 Message-Id: <20230310200652.19926-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Qualcomm SoC power-on driver is specific to ARCH_QCOM which depends on OF thus the driver is OF-only. It's of_device_id table is built unconditionally, thus of_match_ptr() for ID table does not make sense. Signed-off-by: Krzysztof Kozlowski --- drivers/power/reset/qcom-pon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/reset/qcom-pon.c b/drivers/power/reset/qcom-pon.c index 16bc01738be9..ebdcfb28c4a0 100644 --- a/drivers/power/reset/qcom-pon.c +++ b/drivers/power/reset/qcom-pon.c @@ -91,7 +91,7 @@ static struct platform_driver pm8916_pon_driver = { .probe = pm8916_pon_probe, .driver = { .name = "pm8916-pon", - .of_match_table = of_match_ptr(pm8916_pon_id_table), + .of_match_table = pm8916_pon_id_table, }, }; module_platform_driver(pm8916_pon_driver);