]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
opp: ti: Drop unnecessary of_match_ptr()
authorRob Herring (Arm) <robh@kernel.org>
Tue, 6 Aug 2024 13:58:25 +0000 (07:58 -0600)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 4 Sep 2024 15:13:41 +0000 (20:43 +0530)
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>
drivers/opp/ti-opp-supply.c

index ec0056a4bb135e642101c8ddb784d40f583ca27d..5f0fb3ea385b2d407ccde6c24e3a2aab2e99c39f 100644 (file)
@@ -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);