opp: ti-opp-supply: Fix platform_no_drv_owner.cocci warnings
authorYueHaibing <yuehaibing@huawei.com>
Thu, 22 Nov 2018 03:41:07 +0000 (03:41 +0000)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 22 Nov 2018 06:16:02 +0000 (11:46 +0530)
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/ti-opp-supply.c

index 3f4fb4dbbe33b0ca755dc547707b815a337597e9..1c69c404df1149d96ef1abe24767a96077ab199b 100644 (file)
@@ -417,7 +417,6 @@ static struct platform_driver ti_opp_supply_driver = {
        .probe = ti_opp_supply_probe,
        .driver = {
                   .name = "ti_opp_supply",
-                  .owner = THIS_MODULE,
                   .of_match_table = of_match_ptr(ti_opp_supply_of_match),
                   },
 };