[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161219020149.GA121376@lkp-ib03.lkp.intel.com>
Date: Mon, 19 Dec 2016 10:01:49 +0800
From: kbuild test robot <lkp@...el.com>
To: Hans de Goede <hdegoede@...hat.com>
Cc: kbuild-all@...org, MyungJoo Ham <myungjoo.ham@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
linux-kernel@...r.kernel.org,
David Cohen <david.a.cohen@...el.com>,
Hans de Goede <hdegoede@...hat.com>
Subject: [PATCH] extcon: 3gpio: fix platform_no_drv_owner.cocci warnings
drivers/extcon/extcon-3gpio_otg.c:190: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: David Cohen <david.a.cohen@...el.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
extcon-3gpio_otg.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/extcon/extcon-3gpio_otg.c
+++ b/drivers/extcon/extcon-3gpio_otg.c
@@ -187,7 +187,6 @@ MODULE_DEVICE_TABLE(acpi, usb_otg_acpi_m
static struct platform_driver usb_otg_driver = {
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
.acpi_match_table = ACPI_PTR(usb_otg_acpi_match),
},
.probe = usb_otg_probe,
Powered by blists - more mailing lists