summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-10-06 18:50:07 +0800
committerDavid S. Miller <davem@davemloft.net>2019-10-06 18:37:43 +0200
commit59d55789def92c504784295be7980d5e63c90896 (patch)
tree44805f68dbd6a08d049d42c82fc393e76877b691 /drivers/net/dsa/microchip
parentd131c5bb60123f29ed15dd2f829b6644c2deec87 (diff)
downloadlinux-59d55789def92c504784295be7980d5e63c90896.tar.bz2
net: dsa: ksz9477: fix platform_no_drv_owner.cocci warning
Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip')
-rw-r--r--drivers/net/dsa/microchip/ksz9477_i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/microchip/ksz9477_i2c.c b/drivers/net/dsa/microchip/ksz9477_i2c.c
index 0b1e01f0873d..b0a1595d780d 100644
--- a/drivers/net/dsa/microchip/ksz9477_i2c.c
+++ b/drivers/net/dsa/microchip/ksz9477_i2c.c
@@ -85,7 +85,6 @@ MODULE_DEVICE_TABLE(of, ksz9477_dt_ids);
static struct i2c_driver ksz9477_i2c_driver = {
.driver = {
.name = "ksz9477-switch",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(ksz9477_dt_ids),
},
.probe = ksz9477_i2c_probe,