Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp158748rwb; Fri, 2 Sep 2022 11:53:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR7BOCJ9I+ry7PiG/JLUMiB6sYOE035K2zeVGfqqsQwH6ZiW1xlA7WeYcJzE6sPAG/1aqMHZ X-Received: by 2002:a05:6a00:2385:b0:53a:cad4:79de with SMTP id f5-20020a056a00238500b0053acad479demr13725952pfc.8.1662144785012; Fri, 02 Sep 2022 11:53:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662144785; cv=none; d=google.com; s=arc-20160816; b=GbTeSQkA2hEhAEzhZ7wUiqjQGVx+jzGJrhb4uRWXR7UDUStc4J02GFxox84ERX/vbz EZ8h0RyoUlIXIZKtFdssY3kx87fDajMKhsmeRIa4J0Jssdp2dcPlWtOiOrqd19GUvqfF qO1tcUmJ8NrUHYyBOUIa/0bk8t48wIbAIQ30J0wxuN2D4WyyfSmSQ/WS+/i9hSaYZY0E WnJefbGpCUVy7/AnqoSpaYd5blGBIRtrXdFhUOopn08dRA+6tuIxWekVZEfD+7iHckHP 47pBHdRaJU+UHd3qKLjt+nihDX3oNOGGIsR8zK+gQoLW+Nti9YngEqCwlZVrOFU7BHAf va4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UiGnkmWH9iLnrdhPrU2lDZgR3mZDj/1lVrghpfS4bgc=; b=hb8y5lS47DRIOIgFwsmrwBTarHA709RojgdR2bxQQXq+Gf8rKE3Nn4w8EWZ8zZEnNq N3vNiOYp3VLwmrLlPZyW8H/ZNn+p3c4lAOPc8OYF98YLWPYVRADclizH4HIW6YNytGLt btCJXxnKFP1XoGPHttpQueDVI6snWM+AWf0mrco3eYsa9RQuZSCnTnI9ypn4Mkm3nQ2V pfcmnZB7kP6ouaOCc8+5O5gtPmUe3X1+4wF7bPmVRa2mD+k7gq+1tq2XBzY2NLoLQ89G UTGwVfE1G54pexTvVTMLNiRQoPkoLU5dPmJwrKkGgmv5cQ4IesGvNYGi0fc4+qyV8r3B teSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nz69+sv6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f2-20020a17090274c200b00174a1ae02a2si2462679plt.582.2022.09.02.11.52.54; Fri, 02 Sep 2022 11:53:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nz69+sv6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230014AbiIBSbc (ORCPT + 99 others); Fri, 2 Sep 2022 14:31:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229966AbiIBSbS (ORCPT ); Fri, 2 Sep 2022 14:31:18 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF91AFCA35 for ; Fri, 2 Sep 2022 11:31:12 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id v16so3339375wrm.8 for ; Fri, 02 Sep 2022 11:31:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=UiGnkmWH9iLnrdhPrU2lDZgR3mZDj/1lVrghpfS4bgc=; b=Nz69+sv63l6vAT/d+MeZEexuMUrgEJ61UWVjbKzAJch/Mt4H6DOUcOmfORfFfGTDVI v5zBB/pJgK0ndGYjp11XbxRVZw1rCbg7xMqYYP87XQ3V/LM4twIPcmT7Xst90Zc+He+8 IGDrjE+OuD+G7Bot3CYPEj+cetiAiaQ11nL5OdA2xzvcykzMRqlj78MiGAfsWROYF//R fo6eP/zgQoMR8Nc+WFOJU4cKlT5qR71aB8zYwEK+YVRmfzNd68akIEdeQW/hvvClTb5v mZyLf3vKP1X+NF72hKAacRjfEnn7vrqgCalQNzQigXEElEovQQJpduLQ2rKBVZgEkz6H 2qzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=UiGnkmWH9iLnrdhPrU2lDZgR3mZDj/1lVrghpfS4bgc=; b=idPlwt7Wu1rG2yCHZshoIyuvLxMMu2FNUZTOy50ZFOscWOrqW+QalJr4prNi/8whtU lWgiN2hcd8pfqxVMh3FXeGJs7QdBniV19czDkTRUnr3WYG9x73qma6enD87GrhK7Zxhe R/LrRFcjxL+YxiqzZ4L8LgxoO19si+KyiKGzeYy4/wBJez0D+ShP8C+IN4gO7PY7rVbm d3tY16m/VbA4ggWfVG9lqKiasiaDRAtKI94ddRNk3dCrMaI05jGbmPka3fRBYvb63kSz mCZwSs+vw0hz3hzBu0xcHbpuuORZ1zBbGnHA5OUUI0cXetHIeOftHXpTKhFGhABLUVmU Fy+w== X-Gm-Message-State: ACgBeo1HstIhasihJatncVghuk4Gxnu6S0TimHzxSv4sjEbCYC7U5PWJ iuIF+xcDivR3oi3Birhd4R5BpA== X-Received: by 2002:a5d:47a6:0:b0:228:473c:b84b with SMTP id 6-20020a5d47a6000000b00228473cb84bmr1957625wrb.556.1662143470250; Fri, 02 Sep 2022 11:31:10 -0700 (PDT) Received: from linaro.org ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id w10-20020a05600c014a00b003a4efb794d7sm2787122wmm.36.2022.09.02.11.31.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 11:31:09 -0700 (PDT) Date: Fri, 2 Sep 2022 21:31:06 +0300 From: Abel Vesa To: "Peng Fan (OSS)" , Stephen Boyd Cc: abelvesa@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , kernel test robot Subject: Re: [PATCH V3 2/8] clk: imx93: drop of_match_ptr Message-ID: References: <20220830033137.4149542-1-peng.fan@oss.nxp.com> <20220830033137.4149542-3-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220830033137.4149542-3-peng.fan@oss.nxp.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22-08-30 11:31:31, Peng Fan (OSS) wrote: > From: Peng Fan > > There is build warning when CONFIG_OF is not selected. > >> drivers/clk/imx/clk-imx93.c:324:34: warning: 'imx93_clk_of_match' > >> defined but not used [-Wunused-const-variable=] > 324 | static const struct of_device_id imx93_clk_of_match[] = { > | ^~~~~~~~~~~~~~~~~~ > > The driver only support DT table, no sense to use of_match_ptr. > > Fixes: 24defbe194b6 ("clk: imx: add i.MX93 clk") > Reported-by: kernel test robot > Signed-off-by: Peng Fan Reviewed-by: Abel Vesa Stephen will you pick this patch? I'll take the rest through my tree. > --- > drivers/clk/imx/clk-imx93.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c > index f5c9fa40491c..dcc41d178238 100644 > --- a/drivers/clk/imx/clk-imx93.c > +++ b/drivers/clk/imx/clk-imx93.c > @@ -332,7 +332,7 @@ static struct platform_driver imx93_clk_driver = { > .driver = { > .name = "imx93-ccm", > .suppress_bind_attrs = true, > - .of_match_table = of_match_ptr(imx93_clk_of_match), > + .of_match_table = imx93_clk_of_match, > }, > }; > module_platform_driver(imx93_clk_driver); > -- > 2.37.1 >