diff mbox

btwilink: fix platform_no_drv_owner.cocci warnings

Message ID 20170215165314.GA145757@athens.lkp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu Feb. 15, 2017, 4:53 p.m. UTC
drivers/bluetooth/btwilink.c:350:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Eyal Reizer <eyalr@ti.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 btwilink.c |    1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

--- a/drivers/bluetooth/btwilink.c
+++ b/drivers/bluetooth/btwilink.c
@@ -347,7 +347,6 @@  static struct platform_driver btwilink_d
 	.remove = bt_ti_remove,
 	.driver = {
 		.name = "btwilink",
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(btwilink_of_match),
 	},
 };