Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp221368pxb; Wed, 4 Nov 2020 20:32:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsIHM34JyGgmHOYG9lywM/Hbt02cJBplp/qzuExacKDK2cymp0bZepVFVGdWDc2ToYW22e X-Received: by 2002:a17:906:b104:: with SMTP id u4mr486601ejy.121.1604550755502; Wed, 04 Nov 2020 20:32:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604550755; cv=none; d=google.com; s=arc-20160816; b=aVN80lziVE7NIuvZhB+h93E/CZ2btDPAbp2jsCAQHj5cSqBNh8rBakUHntw6haiGNL baX9rbU0V3Lb6hWBsPTcy63eq1CZ/INGjlAVGPu5DkMwXwU38hQJYK1xfy+ZuXErulSm 2U7a5N1IKG+XyVVkklm1bIGcH9FRp3FnWJuqfhA9vfwMmEDRXRbPpsRG1v6K8r7gGABm jqq7I0SFj5G+hfdJDiVXYZiskzJkfJ7XXivp9kTNk/1hAgQ2mcB9dVuwDX0tKZihAxWG iRH2H+0kDWelfOtztYpVGO6nXcHHJld0IAXcNmPEQUgrovNIO4hQIrYL4s6olYqqEozm 4RIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=KsUbVaDnPyxCTp947I58UyZjGm6qP4xXmIwkRqGv8Kw=; b=SOl/XLvj8gE6h/KAnU0QqZYONOJXn63fqarCYrYh0gShNRqjV5tT7XhY9nzwL0QNBB Plb+OZtQLbvwdCbYH+1UOOq8p6OiQZDY/Cb2m0D7kxieWVt4sakDB438tUrEKkeZoRpu YNbDW777O3AtBxDknzKCxsjD9NbFdZFwDQm/3Phc91ARINCh45RCo4np3cpNMjnCeP3M ePF5VbZLiaIAKc8Ok8MpDmXlXlchJk3HlfF+L9xKPPDk5SqHWmk0GpJ8dllXiZAE+wPa BnsfJS+3FV/bkly0qqOxuZcwO2D7f2ALiC1+GxqamZhvGzI/lCR/iNY8jZlJBJzGWCB/ QfeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2vvWrhdR; 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 m14si271320ejr.448.2020.11.04.20.32.13; Wed, 04 Nov 2020 20:32:35 -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=2vvWrhdR; 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 S2388190AbgKEBMC (ORCPT + 99 others); Wed, 4 Nov 2020 20:12:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:57172 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727536AbgKEBMB (ORCPT ); Wed, 4 Nov 2020 20:12:01 -0500 Received: from kernel.org (unknown [104.132.1.79]) (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 4C982206E3; Thu, 5 Nov 2020 01:12:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604538721; bh=VcWn7ZD2lquhbBNfHSGfXFD3jFrvnJcwuv3DDXFqb6s=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=2vvWrhdRMQMCCsbQSZsyPs06b4obAi+LsHru2826jw0jLuIa8YMdfZ57cO5kPGvue Ol36WT31VjQq71M/BiU9dx3/ZkX67u0KhnorKu62eif0wEbvwQTCdPoAiFEpaSZCWO 8Rdf6TIjhb/5+Fv+gwfCAanGQZnFzUdNMa7BDZYg= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20201103162435.13689-5-krzk@kernel.org> References: <20201103162435.13689-1-krzk@kernel.org> <20201103162435.13689-5-krzk@kernel.org> Subject: Re: [PATCH 5/8] clk: imx8mq: drop of_match_ptr from of_device_id table From: Stephen Boyd Cc: Krzysztof Kozlowski To: Abel Vesa , Anson Huang , Fabio Estevam , Geert Uytterhoeven , Krzysztof Kozlowski , Michael Turquette , NXP Linux Team , Peng Fan , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Sudeep Holla , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Date: Wed, 04 Nov 2020 17:11:59 -0800 Message-ID: <160453871984.3965362.5348825658240113890@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Krzysztof Kozlowski (2020-11-03 08:24:32) > 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): >=20 > drivers/clk/imx/clk-imx8mq.c:626:34: warning: > =E2=80=98imx8mq_clk_of_match=E2=80=99 defined but not used [-Wunu= sed-const-variable=3D] >=20 > Signed-off-by: Krzysztof Kozlowski > --- Acked-by: Stephen Boyd