Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1317401
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] acpi: fix platform_no_drv_owner.cocci warnings |
| Date | 2016-01-26 00:30 +0100 |
| Message-ID | <qUYK5-2Ts-5@gated-at.bofh.it> (permalink) |
| References | <qUYK5-2Ts-7@gated-at.bofh.it> <qUX1G-1E8-41@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
drivers/acpi/evged.c:152: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: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
evged.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/acpi/evged.c
+++ b/drivers/acpi/evged.c
@@ -149,7 +149,6 @@ static struct platform_driver ged_driver
.probe = ged_probe,
.driver = {
.name = MODULE_NAME,
- .owner = THIS_MODULE,
.acpi_match_table = ACPI_PTR(ged_acpi_ids),
},
};
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] acpi: implement Generic Event Device Sinan Kaya <okaya@codeaurora.org> - 2016-01-25 22:40 +0100
[PATCH] acpi: fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2016-01-26 00:30 +0100
Re: [PATCH] acpi: implement Generic Event Device kbuild test robot <lkp@intel.com> - 2016-01-26 00:30 +0100
Re: [PATCH] acpi: implement Generic Event Device Andy Shevchenko <andy.shevchenko@gmail.com> - 2016-01-26 13:40 +0100
Re: [PATCH] acpi: implement Generic Event Device Sinan Kaya <okaya@codeaurora.org> - 2016-01-26 14:50 +0100
csiph-web