Commit bf21c6e4 authored by YueHaibing's avatar YueHaibing Committed by Viresh Kumar

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: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 622fecbc
...@@ -417,7 +417,6 @@ static struct platform_driver ti_opp_supply_driver = { ...@@ -417,7 +417,6 @@ 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",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(ti_opp_supply_of_match), .of_match_table = of_match_ptr(ti_opp_supply_of_match),
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment