Skip to content

Commit 84e927a

Browse files
robherringvireshk
authored andcommitted
opp: ti: Drop unnecessary of_match_ptr()
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]>
1 parent 8400291 commit 84e927a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/opp/ti-opp-supply.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ static struct platform_driver ti_opp_supply_driver = {
405405
.probe = ti_opp_supply_probe,
406406
.driver = {
407407
.name = "ti_opp_supply",
408-
.of_match_table = of_match_ptr(ti_opp_supply_of_match),
408+
.of_match_table = ti_opp_supply_of_match,
409409
},
410410
};
411411
module_platform_driver(ti_opp_supply_driver);

0 commit comments

Comments
 (0)