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) <robh@kernel.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
This commit is contained in:
parent
8400291e28
commit
84e927aa67
@ -405,7 +405,7 @@ static struct platform_driver ti_opp_supply_driver = {
|
|||||||
.probe = ti_opp_supply_probe,
|
.probe = ti_opp_supply_probe,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "ti_opp_supply",
|
.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);
|
module_platform_driver(ti_opp_supply_driver);
|
||||||
|
Loading…
Reference in New Issue
Block a user