projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b133ad
)
nfc: No need to set .owner platform_driver_register
author
Tian Tao
<tiantao6@hisilicon.com>
Tue, 14 Jan 2020 02:57:39 +0000
(10:57 +0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 14 Jan 2020 19:58:11 +0000
(11:58 -0800)
the i2c_add_driver will set the .owner to THIS_MODULE
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/pn533/i2c.c
patch
|
blob
|
history
diff --git
a/drivers/nfc/pn533/i2c.c
b/drivers/nfc/pn533/i2c.c
index 7507176cca0a816b55b0afbfc9b9f041d4ced804..0207e66cee2119852b4945b6227a936c15267366 100644
(file)
--- 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,