Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3658371pxb; Mon, 9 Nov 2020 17:56:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJyxvxmj54OonbBbXt+fAotOYaVSDih9TjLAXG/eSnuID7k/KnMOshvGUUJIBWeQhCjn5cCA X-Received: by 2002:a05:6402:1813:: with SMTP id g19mr18775246edy.105.1604973391352; Mon, 09 Nov 2020 17:56:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604973391; cv=none; d=google.com; s=arc-20160816; b=sfRQniO3uHWU2PlLXgpcYuiPzrylxe2kA2BgkD30OSVjwHaSwv4kTOS7B810nQCk1k 1EATEvuZyiPV6sf7xtgV5Qzc2QyByn6XZWJq3ZksB4vJXhaUYEM4g3TibkTRsUV3Nq5+ jaSiOjsyItFS/lnVAlTLbDID4c7Bjnrlr4JDh5KI0uEV3wk1VBgaO3JPA2oqi9LrTBG8 WQdlc7XyaUXzgoRmR8eETgmIU06NW3edDT1PPx4eyDjPFOZOvLZKSFxOuk2SqOJ75eb1 svmDAL6IfiBNUbhwdX/KM6ppdDnvnHx7UKGZnmN7wSYMiTRPnQPb3xP3UfkGUvh7/Eg+ zDbQ== 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=W2IFr7VEnipQ+RXg4LvkeT4gY5IHHGAKSXjyFwP8PEU=; b=ECCIkvE+Wuo2fJPCbev0p39owcoQd7aympaEgVyWgnlfGnCH/WrAq5Ihl1DzgbOcl9 HRXA1WbW4lzQteugnYH17CARQY2TfNKbEHNcTQWgAOjIG6rzr11aPddTKQYWBmUnKxB/ daAECPzi5WFrIsozqmXQIjhcn+uU7lkTh4bTburmFLHR3Ec4Evbw9ifmQVrC1zG51tcq blOh5/bk0deuEAI/9zsNGD/kde3pFCXHc3ckYrHQS+83sizD6Xg73mjK1oGIYCLwwPSx 1Xh+aSKSxUWJr8xijB2TspJaRAWMhI1Hple2oi3HA9jyEHyiBWTATgtJaOOeEa/VPc56 zOng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1EZGKQHy; 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 z10si8790935edk.224.2020.11.09.17.56.08; Mon, 09 Nov 2020 17:56:31 -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=1EZGKQHy; 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 S1730456AbgKJBy2 (ORCPT + 99 others); Mon, 9 Nov 2020 20:54:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:35498 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730305AbgKJBy2 (ORCPT ); Mon, 9 Nov 2020 20:54:28 -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 D08E820789; Tue, 10 Nov 2020 01:54:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604973268; bh=/TV4rJyj16C+KGrN4iSIfVsRvJ4Wxfi3j6sf511QWk8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1EZGKQHyRFVp5Fj8Z7q+YVtAD3NJxNccWgg9gd0BjZITAShn2ZE+asOZG2WxaTckI cWeYPvYYoRNWgIpCuxVlEp+lM0tkastJ2AsHktG6JEciDL5klYltpSvMMNUvzQ57vw AgvQpm30fusZ4gx9mHlclGvv5egtM7YL7+RPCBUY= Date: Tue, 10 Nov 2020 09:54:21 +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 Subject: Re: [PATCH 3/8] clk: imx8mn: drop of_match_ptr from of_device_id table Message-ID: <20201110015420.GN31601@dragon> References: <20201103162435.13689-1-krzk@kernel.org> <20201103162435.13689-3-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-3-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:30PM +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-imx8mn.c:592:34: warning: > ‘imx8mn_clk_of_match’ defined but not used [-Wunused-const-variable=] > > Signed-off-by: Krzysztof Kozlowski Applied, thanks.