Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3658840pxb; Mon, 9 Nov 2020 17:57:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGDyABLVnTNpnMW7J7xlnBk77NzRpfkj3qcHskA7HtDEt5NjBpViVMRx40Il6hfKzYY7is X-Received: by 2002:a05:6402:1813:: with SMTP id g19mr18779398edy.105.1604973467623; Mon, 09 Nov 2020 17:57:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604973467; cv=none; d=google.com; s=arc-20160816; b=z46wJex2OMpB11mUEpP2G5NpmQZuFl/yZ/ESDAJwIQfaAmp3NMu9h8myv3ps9r2BFa nsmqv3nW8W7XNpVxERwcBIqAVC1Kk4TO4SGuvuU6ZzKncu2baCgi+RIfW2dDvTj6ulU1 egsYZEFl+86v8T1paeiNJbQDfXJZ70DmMQL+jyyqllxUJAcnU05eq0AXvbX47tu3o0F8 amqcspej/LZ7+Iby9NP468eWmxaMMPV/1u1Xi+oycR6T4SSoafFoH929Zjm64l6A/lpB 7nkRrtFOZDfC1cey/plbcXh9Aw3DccIHeIen8xEeJEN+cxIzZ5DyDtPUqOI67Czk3SDm ekmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8ddmlC9Em+QzNIQN0J5MQC59WnvpskuSttAZRHTa/PI=; b=FYh8QuCZp93QPStfJqKc1qkyNAoqdhysH/+hcMn3J2YtOAX46h8toJo3Sa+P5I+cYN jmOUu3Rl3E1quaiPSopspHMRDgTFJ8SqbY9hFbpIs4XB4uKfhuHn8nCROmLPY6wAxMhA FIiGeNEBzyJsJUePNyje/AfXODhXlPfPXneFrKK9X2NfvK2bGbRCSTbBn1bJF53hkBJg 0ymb+uLzVSd/ELWp0uyKgc+tos5egpltn4PqiX+p0Zagy6E3S4eWdAnGfMzhJnakD47t X+TwjyB49REpuZsh1lyG9NEmG0nNK7AUqiUWbBuEuMsYteqg5eJ33Bh2QnBlA5s50SUt Lb9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TDwX3EKc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t8si8415730edy.496.2020.11.09.17.57.25; Mon, 09 Nov 2020 17:57:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TDwX3EKc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730790AbgKJByr (ORCPT + 99 others); Mon, 9 Nov 2020 20:54:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:35604 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730305AbgKJByr (ORCPT ); Mon, 9 Nov 2020 20:54:47 -0500 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 36767206B2; Tue, 10 Nov 2020 01:54:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604973286; bh=c95oosAIazQ+zFoT034izMGL3r61ZyLS5wzTBkq8ltA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TDwX3EKciL5MsasruAx5xJS43plNhRB7rM1z0KSwTWMW/EwwpSkpLOLYHB3tX6yS5 WQ7NnTzMf70LSV+L1DY0urVyk6T6cWdmgIjW9VwZY3Y/wHxp1NPrqfZcgZYbXNl8Vu gO44PpStzoGzZC+azpe+5Ml0uVJiw0bACDTyWJ8w= Date: Tue, 10 Nov 2020 09:54:40 +0800 From: Shawn Guo To: Krzysztof Kozlowski Cc: Michael Turquette , Stephen Boyd , Sudeep Holla , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Geert Uytterhoeven , Peng Fan , Abel Vesa , Anson Huang , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, kernel test robot Subject: Re: [PATCH 4/8] clk: imx8mp: drop of_match_ptr from of_device_id table Message-ID: <20201110015439.GO31601@dragon> References: <20201103162435.13689-1-krzk@kernel.org> <20201103162435.13689-4-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201103162435.13689-4-krzk@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 03, 2020 at 05:24:31PM +0100, Krzysztof Kozlowski wrote: > The driver can match only via the DT table so the table should be always > used and the of_match_ptr does not have any sense (this also allows ACPI > matching via PRP0001, even though it might be not relevant here). This > fixes compile warning (!CONFIG_OF && !CONFIG_MODULES): > > drivers/clk/imx/clk-imx8mp.c:751:34: warning: > ‘imx8mp_clk_of_match’ defined but not used [-Wunused-const-variable=] > > Reported-by: kernel test robot > Signed-off-by: Krzysztof Kozlowski Applied, thanks.