Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp272128pxb; Wed, 4 Nov 2020 22:32:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxu0xxeOH6kAivR8pRnB8qqhBRJM1DMOra6pQVp43x5V3/n7CibM60CSg1NRscI4Amp5TO X-Received: by 2002:a17:906:f84f:: with SMTP id ks15mr812095ejb.337.1604557976871; Wed, 04 Nov 2020 22:32:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604557976; cv=none; d=google.com; s=arc-20160816; b=nVQ0CW8KS/2xseX7/eR6Ietm5X4//RPkIOwtKxJPUnqq2yHHaLOy2mlQTkzsToAL8f KeB8eXhMyxkm9q/TB38BXCHhQCMAQoh/bOly7ml7Kib/JXrNu6bQhPRIkeYwl3BLuM/V 3a1VrC8SjqzpydcwG5EnjIibWJkg/k/8e/8c5X+sekjLfnTBmr/PV74SSEhThqSPw/pf gZoM7dC9zb79Ssg12HDxFMajfB7UY+NUWK6PqsQOr8tBJ8tdNfp7xHQp88aFvi59a32u xj0gcjygnCOqZTIzBqLtzLsDYJd7gRqATG0LkW3tN4Rds7SSCBko+9gI6qK5M6Sg13yY a60A== 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=UcNq982zZb9p/DizA06Rmcvche9mcZmqMZSi4fs4SS8=; b=k3/sTY/Ak7nHSQr+bZak7uBKlkhSALoK23PpEefN7jvFTm9HVILK0LJGfuwPArLdbi A9AjHRNiWqGIH0ykZM3R/JMaW7CHt9K10jL0lXdV/bJnwpqtw832LILSUuPBFDMQlGCf rcCc/0asS2deK5BtKTlh8oYyddFcSMXcz1GzmYGCK4Kghakfti90JF7YLEymYB8ra8h3 fuLU6c/BXfmGgcxJ3n60kBbc7mmpfPIN5z9+9roj3C2g/N0XwUC80GblBz6XftgMW8NB vumI+ARrwvJzGEyeSwmrawLxc1moosPKzpR3NVw/cGp7qv6ChhFp2OgB8pMVBdfQF1kZ dEMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Xf/4Fnc6"; 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 e3si423190eja.411.2020.11.04.22.32.34; Wed, 04 Nov 2020 22:32:56 -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="Xf/4Fnc6"; 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 S2388172AbgKEBLo (ORCPT + 99 others); Wed, 4 Nov 2020 20:11:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:57000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732184AbgKEBLn (ORCPT ); Wed, 4 Nov 2020 20:11:43 -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 BA9342075E; Thu, 5 Nov 2020 01:11:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604538702; bh=RIQ64nv+9liZ26FR7Ds24UzlSJKInnWtMqfNZR18qQI=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=Xf/4Fnc6TWRDS7NGvg14/9qlMZLMOECj/CuRYNRVjUYU9jl0LyJSiluaCrfjxZCjq PO9ty++q6ivZnk6e2UdToVqjANJJg6YKrN+dzijpkBVExwGis21P+NhWOZS667s21O J+LlSFV8gD/cPdOk95WtjF2v9siCkzs8eaYZ/K/w= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20201103162435.13689-3-krzk@kernel.org> References: <20201103162435.13689-1-krzk@kernel.org> <20201103162435.13689-3-krzk@kernel.org> Subject: Re: [PATCH 3/8] clk: imx8mn: 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:41 -0800 Message-ID: <160453870149.3965362.1942967564418961305@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:30) > 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-imx8mn.c:592:34: warning: > =E2=80=98imx8mn_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