Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1469871
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] i2c: mux: mellanox: fix platform_no_drv_owner.cocci warnings |
| Date | 2016-08-25 08:50 +0200 |
| Message-ID | <s9WEa-5OW-17@gated-at.bofh.it> (permalink) |
| References | <s9WEa-5OW-13@gated-at.bofh.it> <s9F0B-1JN-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
drivers/i2c/muxes/i2c-mux-mlxcpld.c:329: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: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
i2c-mux-mlxcpld.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/i2c/muxes/i2c-mux-mlxcpld.c
+++ b/drivers/i2c/muxes/i2c-mux-mlxcpld.c
@@ -326,7 +326,6 @@ static int mlxcpld_mux_remove(struct i2c
static struct i2c_driver mlxcpld_mux_driver = {
.driver = {
.name = "mlxcpld-mux",
- .owner = THIS_MODULE,
},
.probe = mlxcpld_mux_probe,
.remove = mlxcpld_mux_remove,
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[patch 2/2] i2c: mux: mellanox: add driver vadimp@mellanox.com - 2016-08-24 14:00 +0200
RE: [patch 2/2] i2c: mux: mellanox: add driver Vadim Pasternak <vadimp@mellanox.com> - 2016-08-24 18:30 +0200
RE: [patch 2/2] i2c: mux: mellanox: add driver Vadim Pasternak <vadimp@mellanox.com> - 2016-08-25 12:10 +0200
Re: [patch 2/2] i2c: mux: mellanox: add driver kbuild test robot <lkp@intel.com> - 2016-08-25 08:50 +0200
[PATCH] i2c: mux: mellanox: fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2016-08-25 08:50 +0200
csiph-web