More Web Proxy on the site http://driver.im/
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1578970659-17809-1-git-send-email-tiantao6@hisilicon.com>
Date: Tue, 14 Jan 2020 10:57:39 +0800
From: Tian Tao <tiantao6@...ilicon.com>
To: <davem@...emloft.net>, <poeschel@...onage.de>,
<tglx@...utronix.de>, <gregkh@...uxfoundation.org>,
<keescook@...omium.org>, <netdev@...r.kernel.org>,
<johan@...nel.org>, <gustavo@...eddedor.com>
CC: <linuxarm@...wei.com>
Subject: [PATCH] nfc: No need to set .owner platform_driver_register
the i2c_add_driver will set the .owner to THIS_MODULE
Signed-off-by: Tian Tao <tiantao6@...ilicon.com>
---
drivers/nfc/pn533/i2c.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/nfc/pn533/i2c.c b/drivers/nfc/pn533/i2c.c
index 7507176..0207e66 100644
--- a/drivers/nfc/pn533/i2c.c
+++ b/drivers/nfc/pn533/i2c.c
@@ -274,7 +274,6 @@ MODULE_DEVICE_TABLE(i2c, pn533_i2c_id_table);
static struct i2c_driver pn533_i2c_driver = {
.driver = {
.name = PN533_I2C_DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(of_pn533_i2c_match),
},
.probe = pn533_i2c_probe,
--
2.7.4
Powered by blists - more mailing lists