Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3658750pxb; Mon, 9 Nov 2020 17:57:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1L+gTBrqYNcfmMCWil50g4Jw3lk5VgIWsPTVB19FBEwHl5dWDO02xjOWP6N37bQp1I1LS X-Received: by 2002:a17:906:6b86:: with SMTP id l6mr17631842ejr.524.1604973453102; Mon, 09 Nov 2020 17:57:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604973453; cv=none; d=google.com; s=arc-20160816; b=Dt/rgUGBP9VNl6XbtGABoNTYgK7u0a73auhmOsAetWT3riOchdvextheTreliayt5F 4hTSsUly7ZkNWa1hOGyuJ2YgyU16RiCsfBUekyVebzheqysDcSG0M9GIyEUPy3/cBy3m FjEFOGJPAzQ92GItoeHQAD6duSpDpQo/a/tKi/Njki66M6tAgzR0cIyaTGjIzCVlinaG UDkh35FXUY5gU1RT+U0L2SIQvVwbIC0dfdaaXFH4kFNTiifd3vPk3tbsH1ch88YmLB52 xchhqaPf+5ZUFJYM0kymHTCIOFjmpb0uquyc88KXK6zUUgySoyxMMlW8jF1KYcvncIxA d8dw== 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=dHb3PI3gzei23zD2fEcirme1q0BXKBSAQ25sJUBcccI=; b=NQkFtUNzE7NZX+t22gzI8QU7R08w6zT+vzInhRRyjQ3MJwX9QgnEfr9P28qVoXHAHF 0WxLiFzAW1+9Q1ETpAmSu5vvt6ckpWzkBOf2IhPJ2jn33G0UZYV5IUNMxfUAt4I2cFs1 uX/aTpFUfsBHz81MP2sPFC6Rg4/1WipgvYk2zV3GYj7i3yaNh+duvxjMoWcBJTVpJOvG VvP1SafQdJcx7lnkfQHjvaeTBT5JPkmkWIFhY9JWlTeeY9geDtYxaa7xSwXe7+DQFdT7 3ucIINiVrZfe6p1N4EzcKQxoKlLhPEllWdphix5vtkJcC8GKhZljzCfzxlPSFxXL6qsw TJ1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="JOTX/j7j"; 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 y15si7675339ejk.247.2020.11.09.17.57.10; Mon, 09 Nov 2020 17:57:33 -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="JOTX/j7j"; 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 S1730971AbgKJBzF (ORCPT + 99 others); Mon, 9 Nov 2020 20:55:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:35702 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729874AbgKJBzE (ORCPT ); Mon, 9 Nov 2020 20:55:04 -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 30F93206B2; Tue, 10 Nov 2020 01:55:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604973304; bh=GCFhXse/e+ZHjphqwvgogigFqAMfjhABvI4EMREDYXU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JOTX/j7jI9fupke2UYQDX2P0QVnZO3m/2ZF0mxiFarFy7ODm9CRGTbloEWUDOs7au p4gyF/NoRIQJHh696pl8eFoHV20KdzId7NwzorXPJUdp2m2LE4kF3J2Q+pIU2IhAdh KmCiFPsn4Qh2DDObg3pwPAh4ZAZ+h2703wPc8lq8= Date: Tue, 10 Nov 2020 09:54:57 +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 5/8] clk: imx8mq: drop of_match_ptr from of_device_id table Message-ID: <20201110015457.GP31601@dragon> References: <20201103162435.13689-1-krzk@kernel.org> <20201103162435.13689-5-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-5-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:32PM +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-imx8mq.c:626:34: warning: > ‘imx8mq_clk_of_match’ defined but not used [-Wunused-const-variable=] > > Signed-off-by: Krzysztof Kozlowski Applied, thanks.