Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1544275
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] extcon: 3gpio: fix platform_no_drv_owner.cocci warnings |
| Date | 2016-12-19 03:10 +0100 |
| Message-ID | <sPVyN-1zj-7@gated-at.bofh.it> (permalink) |
| References | <sPVyN-1zj-9@gated-at.bofh.it> <sPTQl-tj-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.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,
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] extcon: 3gpio: add driver for USB OTG port controlled by 3 GPIOs Hans de Goede <hdegoede@redhat.com> - 2016-12-19 01:20 +0100
[PATCH] extcon: 3gpio: fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2016-12-19 03:10 +0100
Re: [PATCH] extcon: 3gpio: add driver for USB OTG port controlled by 3 GPIOs kbuild test robot <lkp@intel.com> - 2016-12-19 03:10 +0100
Re: [PATCH] extcon: 3gpio: add driver for USB OTG port controlled by 3 GPIOs Chanwoo Choi <cw00.choi@samsung.com> - 2016-12-19 09:10 +0100
Re: [PATCH] extcon: 3gpio: add driver for USB OTG port controlled by 3 GPIOs Hans de Goede <hdegoede@redhat.com> - 2016-12-19 10:00 +0100
Re: [PATCH] extcon: 3gpio: add driver for USB OTG port controlled by 3 GPIOs Chanwoo Choi <cw00.choi@samsung.com> - 2016-12-19 10:50 +0100
csiph-web