Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3658244pxb; Mon, 9 Nov 2020 17:56:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqnicztYw7BTouzNB1Nzp8/0dcrWQZJzIxMZSD/NW3OUp0wXmHxSA1qBn02FzjaQVmHQlp X-Received: by 2002:a50:ed14:: with SMTP id j20mr19120067eds.247.1604973366419; Mon, 09 Nov 2020 17:56:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604973366; cv=none; d=google.com; s=arc-20160816; b=vjcdXN0c4fAqvwbeitJIfJAXXn0J5IMMR+RhcH/7oadD87MpZTtaL+1Du7Qr7CNp6+ eqqxHuABoEQJwckypOjCjXX+yvdl959X6sCcbyUn0l2gwWX31bqC89Q8TqVKgApWbyNq PbTkID4Y+FNAKVYSqXQNDgE1vxLKvCHeTdNmV6oASk/3j6BwSISBS4Wjz8Wrv88nXdj1 FSIWIGnm4sUM0fPCdmySnrykysxH0JW5ezLUG4iidX/rqar42TW3FdTQARLc/ldnZwhb ecV3QaQtlJyWQeQ77OeP/mVHj+eNxXVi+D55aYxOuCx9a0eHFsp0vAZ5mb/TEuCnWVKH H9dg== 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=p1f0oBS9kEyYwHFc90JKAPYuy06DV+k8xZ1MjE2ubdM=; b=VE2Xu3ZmT6n8AQT8MlttC3CAopEw25vAMOZz4lV9djAI0l8aCCr9nPjXoRn0eAENyo BI8TvqcV74Ow9ceISe0rMRmA+OoHhxfZrSH11W5Zl0h/b0QCG6kQAwbX/fBYNv0vlkvE 1/lyY1Xu8ckqY0YwsRswJv0Ve0jG4T5KSSq9w8QUPwgc0DKAXSeMg7BeDDamX0l7+A5P f/BEgZrLe/vSesRZdDbVFcxD+34kK/U5GTEI7T6EN8Zu3z6stEr9qvomt6J/aiQ9jK2Z +vDOvOTgBSOuwlY2O/X6dWbA6uHGY5mkNDwcg42mlEFYONCATbaFVoJIu3/4RtSAJ1m2 fraQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MrnBr7Ul; 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 o25si2674949edz.20.2020.11.09.17.55.43; Mon, 09 Nov 2020 17:56:06 -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=MrnBr7Ul; 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 S1729983AbgKJByL (ORCPT + 99 others); Mon, 9 Nov 2020 20:54:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:35338 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725889AbgKJByK (ORCPT ); Mon, 9 Nov 2020 20:54:10 -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 4529A206B2; Tue, 10 Nov 2020 01:54:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604973250; bh=eu56qa11Tiul6OfX9zaPBrGDUTnusdxoaA6l3R1Qp3Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MrnBr7Ul3CCgtdn+V2+BIfvqktyHTp7itUz8tyCG8IDKM0VpvmGUNeKLmqOSPWoZJ uyO3TsN3Jx+10UCiIknWKZevnzcnvnOUIqDTWwnpkK36w5mKZTh9Ip2aeoTJzw2kTN lbWJrcCmwrs8LAofawk80orIRLjUHSUEOtmGfNRo= Date: Tue, 10 Nov 2020 09:54:03 +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 2/8] clk: imx8mm: drop of_match_ptr from of_device_id table Message-ID: <20201110015402.GM31601@dragon> References: <20201103162435.13689-1-krzk@kernel.org> <20201103162435.13689-2-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-2-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:29PM +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-imx8mm.c:641:34: warning: > ‘imx8mm_clk_of_match’ defined but not used [-Wunused-const-variable=] > > Signed-off-by: Krzysztof Kozlowski Applied, thanks.