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 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 A0ADBC52D71 for ; Thu, 8 Aug 2024 10:50:27 +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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:CC:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UcjNUEpc1q6NesdAYa5nxwxudIHZA2RHgOSEWhpgaw8=; b=Xpef+LrUPOsiTcUU3oOlE7+z/K 3/++O6gJfcHQH2mbc1/8ILwj9DaBNeL/fb6QMFRi94h2fjvLpk6Wr3sCnBY9ik9XTwT/Zv2ei62im c4JrlapJDoLllmQCnHsrm5gjdDv3UeHVRNzCTINgM8aqlosogeChYhzxuUxGNBRJY8tfdxisowhma RfFLqjeRoQ43cK8hcZdu2Ccty19GwZOsm4fu4pddD8jU3qoLTV5G+/3mpF9JfrZXKLDcus3EswFhE mGsa7eiOlUP0PbU+ac7hr3U8jBLdin+GsXqgAL7KgreiKBlDSB1SOtRazyWb4DTySx7bOS5yYZFr2 UKHSFqtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sc0ij-00000007y0v-2oUg; Thu, 08 Aug 2024 10:50:13 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sc0hK-00000007xZe-1m1o for linux-arm-kernel@lists.infradead.org; Thu, 08 Aug 2024 10:48:48 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 478AmfRk124117; Thu, 8 Aug 2024 05:48:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1723114121; bh=UcjNUEpc1q6NesdAYa5nxwxudIHZA2RHgOSEWhpgaw8=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=WlGivwmz8iOH692SlUYQe+odmWqDu3WKqwKG7kEY/aBMAwr+tT7DXRlTLjn3IKvMO WF8afhlijzidncQ1ZivcQMbAZizPEDPrxiSPZxIg6Dj3L0nQskA3zRM+Jb+FRIuPHp Hjt05RZKjL7I5kfqUUeiNllet7ISk12TVCQzfajg= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 478AmfRt006815 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 8 Aug 2024 05:48:41 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 8 Aug 2024 05:48:41 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 8 Aug 2024 05:48:41 -0500 Received: from localhost (lcpd911.dhcp.ti.com [172.24.227.68]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 478Ame1q041183; Thu, 8 Aug 2024 05:48:40 -0500 Date: Thu, 8 Aug 2024 16:18:39 +0530 From: Dhruva Gole To: "Rob Herring (Arm)" CC: "Rafael J. Wysocki" , Viresh Kumar , Kevin Hilman , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Nishanth Menon , Stephen Boyd , , , , , Subject: Re: [PATCH 4/6] opp: ti: Drop unnecessary of_match_ptr() Message-ID: <20240808104839.honxenpw6zxpbdae@lcpd911> References: <20240806-dt-api-cleanups-v1-0-459e2c840e7d@kernel.org> <20240806-dt-api-cleanups-v1-4-459e2c840e7d@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240806-dt-api-cleanups-v1-4-459e2c840e7d@kernel.org> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_034846_544747_40BC66C8 X-CRM114-Status: GOOD ( 17.08 ) 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 On Aug 06, 2024 at 07:58:25 -0600, Rob Herring (Arm) wrote: > of_match_ptr() is not necessary as the driver is always enabled for DT. > > Signed-off-by: Rob Herring (Arm) > --- > 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, Reviewed-by: Dhruva Gole -- Best regards, Dhruva