From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D44F7C4361B for ; Thu, 10 Dec 2020 20:25:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8AF3323DB4 for ; Thu, 10 Dec 2020 20:25:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727267AbgLJUZF (ORCPT ); Thu, 10 Dec 2020 15:25:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:42940 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726844AbgLJUZF (ORCPT ); Thu, 10 Dec 2020 15:25:05 -0500 Content-Type: text/plain; charset="utf-8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607631864; bh=kwg/tKpZfJcgzmEhzL9w8F91fP/go66oy80CP2CouNQ=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=ifuIgcsYP2UepQoWfMiYY9OMXC6M2J0h23teTNX0fgZA6Ar/xW1+9rbwYz5u9/otq aHOnrO1EruIEhIOFIvB0bpZfMgRbsx5ClMRkK0ZuOGy3D6EKINRgt2zpgPgKXjsD0f MOu1d7RAbeOqgDm6qa8Ha/r9dqxgprYvigAZBNfg0k49kFTc+JRSP9bJQFoYMgXPVe O81M1PLA8hxsPMUF9JhF+fI8HSU9EHmVYo0ICnSe/lYTFUsDaqyvXtelaknckPd3Y9 iea200kEsww2jKvQCZN+YEYhGKdFb+t3+I0ViJYRKzkOz/7mQDVHYzthV9EQ1/OU8Z uegG0ypuBeOLA== MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20201103162435.13689-1-krzk@kernel.org> References: <20201103162435.13689-1-krzk@kernel.org> Subject: Re: [PATCH 1/8] clk: pwm: 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: Thu, 10 Dec 2020 12:24:23 -0800 Message-ID: <160763186300.1580929.2999322890374782210@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Quoting Krzysztof Kozlowski (2020-11-03 08:24:28) > 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/clk-pwm.c:139:34: warning: > =E2=80=98clk_pwm_dt_ids=E2=80=99 defined but not used [-Wunused-c= onst-variable=3D] >=20 > Signed-off-by: Krzysztof Kozlowski > --- Applied to clk-next