Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1334297
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] platform/chrome: pstore: fix platform_no_drv_owner.cocci warnings |
| Date | 2016-02-15 10:10 +0100 |
| Message-ID | <r2nkm-7he-11@gated-at.bofh.it> (permalink) |
| References | <r2nkm-7he-13@gated-at.bofh.it> <r2meD-6nO-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
drivers/platform/chrome/chromeos_pstore.c:85: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: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
chromeos_pstore.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/platform/chrome/chromeos_pstore.c
+++ b/drivers/platform/chrome/chromeos_pstore.c
@@ -82,7 +82,6 @@ MODULE_DEVICE_TABLE(acpi, cros_ramoops_a
static struct platform_driver chromeos_ramoops_acpi = {
.driver = {
.name = "chromeos_pstore",
- .owner = THIS_MODULE,
.acpi_match_table = ACPI_PTR(cros_ramoops_acpi_match),
},
};
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] platform/chrome: upstream changes Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2016-02-15 09:00 +0100
[PATCH 2/3] platform/chrome: pstore: probe for ramoops buffer using acpi Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2016-02-15 09:00 +0100
[PATCH] platform/chrome: pstore: fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2016-02-15 10:10 +0100
Re: [PATCH 2/3] platform/chrome: pstore: probe for ramoops buffer using acpi kbuild test robot <lkp@intel.com> - 2016-02-15 10:10 +0100
csiph-web