From patchwork Tue Aug 6 13:58:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 13754928 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 55E7AC3DA64 for ; Tue, 6 Aug 2024 14:01:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CWI7EPON3sL3a8kDk1nMk2tcf5r9svP81eztSJZ9cxg=; b=3Xaxf90DDc0tEsP49EzsDkmQ79 vqQMuqYvHUqCJeEN0u1DgPfAerYhPOghuhTVONFIaulRAfEv2TSQoAXHoI7HhJLzmaMH3OWCioiI7 qy2KZXhl9FM/FXtymDB1yK4N14zLijxTQBrRwr1P/rFOkJAKL+vZGbDEecXAtADIAorQWd3LB+7lm EYWuMZSEYlaPWKO+ZTeaRg48eqnCLTExXc18dZ5TDMPmKW4M7RNBI/4zU9thkjvQXuOfq8qyDDrXn GbZUT0IkPIjp0ynxOVyqra+X87d/YbKJE5VKfkEFdLzvoCs88w9V52bCq+gjKSCBERzJwioNaThry xsA5K7ZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbKkR-00000001tjz-2fqh; Tue, 06 Aug 2024 14:01:11 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbKhz-00000001sxr-2ulB for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2024 13:58:40 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 0BB1360FB9; Tue, 6 Aug 2024 13:58:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7A78C4AF11; Tue, 6 Aug 2024 13:58:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722952718; bh=uCYvbAMXm2+3AvQKq0Q0abiFwVHINEmdiWc+kAmUIE4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=NOoiUZ+nn08tT72C7dMaunByY1Vc4QydgBoYh7mRJ9a4M5SHsk7SQRHwmLHdZWU6+ 39mxU80tOUaGIsBe1h7UTDsSL2XE3ApGXGurUHJPq8+78RI9F8xJC/ItglKQk6SSb5 RDelsWAB6aShmC7h3ObWXhbdjC+s5HNyLfid+kU7gUTJ67gA2NzcvnCVagLEnpAbGx +7jBdZHhyruhLGib9KDTIT1Txx1VV6WKizTgOpHQNPzNUuayECNq21ZUrk/qHaBEFr a3UFEHLZ6djJOuRxjah9eZnnZ/Sqy8Dvg9xosSDhKCUhVDmbRMqdlbz8Oc/uW5lG/i AYmndjDwMnlLg== From: "Rob Herring (Arm)" Date: Tue, 06 Aug 2024 07:58:25 -0600 Subject: [PATCH 4/6] opp: ti: Drop unnecessary of_match_ptr() MIME-Version: 1.0 Message-Id: <20240806-dt-api-cleanups-v1-4-459e2c840e7d@kernel.org> References: <20240806-dt-api-cleanups-v1-0-459e2c840e7d@kernel.org> In-Reply-To: <20240806-dt-api-cleanups-v1-0-459e2c840e7d@kernel.org> To: "Rafael J. Wysocki" , Viresh Kumar , Kevin Hilman , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Nishanth Menon , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-Mailer: b4 0.15-dev X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_065839_830585_AF479EF3 X-CRM114-Status: GOOD ( 12.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org of_match_ptr() is not necessary as the driver is always enabled for DT. Signed-off-by: Rob Herring (Arm) Reviewed-by: Dhruva Gole --- drivers/opp/ti-opp-supply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/opp/ti-opp-supply.c b/drivers/opp/ti-opp-supply.c index ec0056a4bb13..5f0fb3ea385b 100644 --- a/drivers/opp/ti-opp-supply.c +++ b/drivers/opp/ti-opp-supply.c @@ -405,7 +405,7 @@ static struct platform_driver ti_opp_supply_driver = { .probe = ti_opp_supply_probe, .driver = { .name = "ti_opp_supply", - .of_match_table = of_match_ptr(ti_opp_supply_of_match), + .of_match_table = ti_opp_supply_of_match, }, }; module_platform_driver(ti_opp_supply_driver);