Commit 469bd5ea authored by Fabio Estevam's avatar Fabio Estevam Committed by Kalle Valo

ath10k: snoc: Remove owner assignment from platform_driver

Structure platform_driver does not need to set the owner field, as this
will be populated by the driver core.

Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent cfb353c0
...@@ -1385,7 +1385,6 @@ static struct platform_driver ath10k_snoc_driver = { ...@@ -1385,7 +1385,6 @@ static struct platform_driver ath10k_snoc_driver = {
.remove = ath10k_snoc_remove, .remove = ath10k_snoc_remove,
.driver = { .driver = {
.name = "ath10k_snoc", .name = "ath10k_snoc",
.owner = THIS_MODULE,
.of_match_table = ath10k_snoc_dt_match, .of_match_table = ath10k_snoc_dt_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