Browse Source

opp: ti-opp-supply: Fix platform_no_drv_owner.cocci warnings

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>
YueHaibing 6 years ago
parent
commit
bf21c6e455
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/opp/ti-opp-supply.c

+ 0 - 1
drivers/opp/ti-opp-supply.c

@@ -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),
 		   },
 };