Thread (11 messages) 11 messages, 4 authors, 2024-08-08

Re: [PATCH 4/6] opp: ti: Drop unnecessary of_match_ptr()

From: Dhruva Gole <hidden>
Date: 2024-08-08 10:48:50
Also in: linux-arm-msm, linux-omap, linux-pm, lkml

On Aug 06, 2024 at 07:58:25 -0600, Rob Herring (Arm) wrote:
quoted hunk ↗ jump to hunk
of_match_ptr() is not necessary as the driver is always enabled for DT.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 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 <redacted>

-- 
Best regards,
Dhruva
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help