Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp271732pxb; Wed, 4 Nov 2020 22:32:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQkePcLJ5UiWGua3RIo9ELUlfqPbSgBK9Cc8Bh17M/scxIN4B/HDwnPywnsS4tf4j2yqen X-Received: by 2002:a05:6402:40e:: with SMTP id q14mr1017619edv.169.1604557927290; Wed, 04 Nov 2020 22:32:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604557927; cv=none; d=google.com; s=arc-20160816; b=Nknl37aT4IbwZDwC32S60B7DMhv0z9yAhH9WUqJMxXv2XQd0cn5LRFTC56m0a95K5V 87kVfYklAHMIK914K2895SeypQdJ2Wavec17Otiu99RImQfpeE7rtnjO60JllC5fEPmJ MuQL8JG6cfk1XTIFfqqeUrcU7OxmvfuOi35sFv9u0LS+g87ykbmbm/ogpO8eO/r8owSl kf+LxIk0o22JDMa0E3ucBgrRuIXqxR+4TZsT5K7sBkAqjyYcVXNKHJod6fnYxe8e197e 4VNhi9zgz22WybwGZdxzQnHm6kQ+perGxhSLB7c2GMwU4u70MWVC8rO3LihOme/1IW6O j3JQ== 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=jW6Xh1j8b3OzcmzQ7H+ZvcwsPLjjDlfSbxp4+UFdpqg=; b=FARe09Sz2ZZiAemXlCF9onyWPz4YCbHVQ1Li+fquzbiWZzNlSyuEiWx+UNku2HmX8g f4yooywTJ+ZhxJgsSI72zMNMzUeVTS0akuk1+icmjJjRxbSpVH7bgVSATQviYrd2WuIn QwTNoUD6IUdQ4m1dyUwr1UmZZCJFjBV2PAi++M8S6sPM7w6ysdqoAbd6A70kGg8rBmjo aGIC3/xiDiXpz+DG22139O+TVE4KDebPf3HBYj3T95GO6zB3sSTX4PrTFYFCIg02DqjF 3VnoNME3OYb32gHNBwZiscQycTlE0/182k+QvYHmli8YGi8ML9QWGTW4jlEhzYKg1woM smpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OO14B5X4; 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 qk6si427571ejb.434.2020.11.04.22.31.44; Wed, 04 Nov 2020 22:32:07 -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=OO14B5X4; 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 S2388150AbgKEBLd (ORCPT + 99 others); Wed, 4 Nov 2020 20:11:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:56852 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729888AbgKEBLd (ORCPT ); Wed, 4 Nov 2020 20:11:33 -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 7408B206E3; Thu, 5 Nov 2020 01:11:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604538692; bh=jR2PetSMvs0C11v8mZSt53Ob1AAJ5sa4sqsKjufA7b8=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=OO14B5X49OxN5eeQ0RlvG7QnWKVpaLTvE5UZcA6KUDe6sd4ZT/H+QEyuxd0dhcu/u CBKLNeHSZ650vBp/gFngfydkOBqcTXOcYlO5in2NxvAQWhGRY2yv1+EdL0d/uf/JJf qhg9yuqjjXpcdl1ZwUhGewdsY+1UTh2bvKZt7BYQ= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20201103162435.13689-2-krzk@kernel.org> References: <20201103162435.13689-1-krzk@kernel.org> <20201103162435.13689-2-krzk@kernel.org> Subject: Re: [PATCH 2/8] clk: imx8mm: 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:30 -0800 Message-ID: <160453869090.3965362.13438552687754885315@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:29) > 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-imx8mm.c:641:34: warning: > =E2=80=98imx8mm_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