Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1590203
| Path | csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | kbuild test robot <fengguang.wu@intel.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH] staging/atomisp: fix platform_no_drv_owner.cocci warnings |
| Date | Wed, 01 Mar 2017 11:40:03 +0100 |
| Message-ID | <tg9PR-1LH-47@gated-at.bofh.it> (permalink) |
| References | <tg9PP-1LH-5@gated-at.bofh.it> |
| X-Original-To | Alan Cox <alan@linux.intel.com> |
| X-Extloop1 | 1 |
| X-Ironport-Av | E=Sophos;i="5.35,225,1484035200"; d="scan'208";a="63192978" |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| X-Sa-Exim-Connect-IP | <locally generated> |
| X-Sa-Exim-Mail-From | fengguang.wu@intel.com |
| X-Sa-Exim-Scanned | No (on bee); SAEximRunCond expanded to false |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 23 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | kbuild-all@01.org, devel@driverdev.osuosl.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Mauro Carvalho Chehab <m.chehab@samsung.com>, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Wed, 1 Mar 2017 18:30:18 +0800 |
| X-Original-Message-ID | <20170301103018.GA30959@lkp-wsm-ep1> |
| X-Original-References | <201703011837.1R4zsbQi%fengguang.wu@intel.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1590203 |
Show key headers only | View raw
drivers/staging/media/atomisp/i2c/ov2722.c:1352: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: Alan Cox <alan@linux.intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
ov2722.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/staging/media/atomisp/i2c/ov2722.c
+++ b/drivers/staging/media/atomisp/i2c/ov2722.c
@@ -1349,7 +1349,6 @@ MODULE_DEVICE_TABLE(acpi, ov2722_acpi_ma
static struct i2c_driver ov2722_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = OV2722_NAME,
.acpi_match_table = ACPI_PTR(ov2722_acpi_match),
},
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] staging/atomisp: fix platform_no_drv_owner.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2017-03-01 11:40 +0100
csiph-web