Skip to content

Commit

Permalink
regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings
Browse files Browse the repository at this point in the history
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>
Link: https://lore.kernel.org/r/20200116023344.163592-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
YueHaibing authored and Mark Brown committed Jan 17, 2020
1 parent 5b379b2 commit 493a31e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/regulator/vqmmc-ipq4019-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ static struct platform_driver ipq4019_regulator_driver = {
.probe = ipq4019_regulator_probe,
.driver = {
.name = "vqmmc-ipq4019-regulator",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(regulator_ipq4019_of_match),
},
};
Expand Down

0 comments on commit 493a31e

Please sign in to comment.