Skip to content

Commit

Permalink
opp: ti: Drop unnecessary of_match_ptr()
Browse files Browse the repository at this point in the history
of_match_ptr() is not necessary as the driver is always enabled for DT.

Signed-off-by: Rob Herring (Arm) <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
  • Loading branch information
robherring authored and vireshk committed Sep 4, 2024
1 parent 8400291 commit 84e927a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/opp/ti-opp-supply.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 84e927a

Please sign in to comment.