summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring (Arm) <robh@kernel.org>2024-08-06 16:58:25 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2024-09-04 18:13:41 +0300
commit84e927aa679f7c72f4814ec02768bb99e4b7c5ec (patch)
tree02d08e995781b8b0605838e8184d5c17df7aed50
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
downloadlinux-84e927aa679f7c72f4814ec02768bb99e4b7c5ec.tar.xz
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>
-rw-r--r--drivers/opp/ti-opp-supply.c2
1 files changed, 1 insertions, 1 deletions
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,
},
};
module_platform_driver(ti_opp_supply_driver);