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:
56ee645
)
NFC: st21nfcb: Remove double assignment of .owner in struct device_driver
author
Christophe Ricard
<
[email protected]
>
Mon, 28 Jul 2014 16:11:34 +0000
(18:11 +0200)
committer
Samuel Ortiz
<
[email protected]
>
Sun, 7 Sep 2014 21:56:48 +0000
(23:56 +0200)
The .owner member of struct device_driver is assigned THIS_MODULE twice.
Introduced by:
commit
35630df68d6030daf12dde12ed07bbe26324e6ac
NFC: st21nfcb: Add driver for STMicroelectronics ST21NFCB NFC chip
Signed-off-by: Christophe Ricard <
[email protected]
>
Signed-off-by: Samuel Ortiz <
[email protected]
>
drivers/nfc/st21nfcb/i2c.c
patch
|
blob
|
history
diff --git
a/drivers/nfc/st21nfcb/i2c.c
b/drivers/nfc/st21nfcb/i2c.c
index 7ae9767dbcced39a0e04dd7c35e49bba99ca2cba..11bd5f7220ac68f23821213fa2b5166a9cd19910 100644
(file)
--- a/
drivers/nfc/st21nfcb/i2c.c
+++ b/
drivers/nfc/st21nfcb/i2c.c
@@
-430,7
+430,6
@@
static struct i2c_driver st21nfcb_nci_i2c_driver = {
.driver = {
.owner = THIS_MODULE,
.name = ST21NFCB_NCI_I2C_DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(of_st21nfcb_i2c_match),
},
.probe = st21nfcb_nci_i2c_probe,