mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 15:49:56 +00:00
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>
This commit is contained in:
parent
622fecbccf
commit
bf21c6e455
@ -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),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user